abi check fixes and Linux/x32 support

This commit is contained in:
Anthony Green
2012-03-03 14:46:20 -05:00
parent 6c194233a5
commit 964c5b93f8
17 changed files with 11020 additions and 5 deletions
+16
View File
@@ -1,3 +1,19 @@
2012-03-03 H.J. Lu <hongjiu.lu@intel.com>
* src/x86/ffi64.c (ffi_call): Cast the return value to unsigned
long.
(ffi_prep_closure_loc): Cast to 64bit address in trampoline.
(ffi_closure_unix64_inner): Cast return pointer to unsigned long
first.
* src/x86/ffitarget.h (FFI_SIZEOF_ARG): Defined to 8 for x32.
(ffi_arg): Set to unsigned long long for x32.
(ffi_sarg): Set to long long for x32.
2012-03-03 H.J. Lu <hongjiu.lu@intel.com>
* src/prep_cif.c (ffi_prep_cif_core): Properly check bad ABI.
2012-03-03 Andoni Morales Alastruey <ylatuya@gmail.com>
* configure.ac: Add -no-undefined for both 32- and 64-bit x86