Commit d76975dbd2854beca7acbca946c4cbccf9bf7cee

Andreas Schwab 2016-03-16T12:23:07

Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32 Like x32, aarch64 ILP32 needs to define FFI_SIZEOF_JAVA_RAW. This fixes the java interpreter.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/aarch64/ffitarget.h b/src/aarch64/ffitarget.h
index 5ded0e4..65086cd 100644
--- a/src/aarch64/ffitarget.h
+++ b/src/aarch64/ffitarget.h
@@ -29,6 +29,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 #ifndef LIBFFI_ASM
 #ifdef __ILP32__
 #define FFI_SIZEOF_ARG 8
+#define FFI_SIZEOF_JAVA_RAW  4
 typedef unsigned long long ffi_arg;
 typedef signed long long ffi_sarg;
 #else