Fix ppc32 bug

This commit is contained in:
Anthony Green
2011-02-25 15:09:13 -05:00
parent cbb062cc35
commit 2541679dbd
8 changed files with 6025 additions and 1 deletions
+1
View File
@@ -24,3 +24,4 @@ ios-fixes
bad-abi-fix
msvcc
fix_maxopt
fix-ppc32
View File
View File
View File
+5
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -24,3 +24,4 @@ ios-fixes
bad-abi-fix
msvcc
fix_maxopt
fix-ppc32
+4 -1
View File
@@ -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];