mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
Fix ppc32 bug
This commit is contained in:
@@ -24,3 +24,4 @@ ios-fixes
|
||||
bad-abi-fix
|
||||
msvcc
|
||||
fix_maxopt
|
||||
fix-ppc32
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2011-02-25 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* src/powerpc/ffi.c (ffi_prep_closure_loc): Accept more 32-bit
|
||||
ABIs for closures.
|
||||
|
||||
2011-02-15 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* m4/ax_cc_maxopt.m4: Don't -malign-double or use -ffast-math.
|
||||
|
||||
+6014
File diff suppressed because it is too large
Load Diff
@@ -24,3 +24,4 @@ ios-fixes
|
||||
bad-abi-fix
|
||||
msvcc
|
||||
fix_maxopt
|
||||
fix-ppc32
|
||||
|
||||
+4
-1
@@ -958,7 +958,10 @@ ffi_prep_closure_loc (ffi_closure *closure,
|
||||
#else
|
||||
unsigned int *tramp;
|
||||
|
||||
if (! (cif->abi == FFI_GCC_SYSV || cif->abi == FFI_SYSV))
|
||||
if (! (cif->abi == FFI_GCC_SYSV
|
||||
|| cif->abi == FFI_SYSV
|
||||
|| cif->abi == FFI_LINUX
|
||||
|| cif->abi == FFI_LINUX_SOFT_FLOAT))
|
||||
return FFI_BAD_ABI;
|
||||
|
||||
tramp = (unsigned int *) &closure->tramp[0];
|
||||
|
||||
Reference in New Issue
Block a user