mirror of
https://github.com/partic2/libffi
synced 2026-11-10 01:57:19 +00:00
abi check fixes and Linux/x32 support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user