Fix ppc32 bug
This commit is contained in:
@@ -24,3 +24,4 @@ ios-fixes
|
|||||||
bad-abi-fix
|
bad-abi-fix
|
||||||
msvcc
|
msvcc
|
||||||
fix_maxopt
|
fix_maxopt
|
||||||
|
fix-ppc32
|
||||||
|
|||||||
0
.pc/fix-ppc32/.timestamp
Normal file
0
.pc/fix-ppc32/.timestamp
Normal file
0
.pc/fix-ppc32/ChangeLog
Normal file
0
.pc/fix-ppc32/ChangeLog
Normal file
0
.pc/fix-ppc32/src/powerpc/ffi.c
Normal file
0
.pc/fix-ppc32/src/powerpc/ffi.c
Normal 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>
|
2011-02-15 Anthony Green <green@moxielogic.com>
|
||||||
|
|
||||||
* m4/ax_cc_maxopt.m4: Don't -malign-double or use -ffast-math.
|
* m4/ax_cc_maxopt.m4: Don't -malign-double or use -ffast-math.
|
||||||
|
|||||||
6014
patches/fix-ppc32
Normal file
6014
patches/fix-ppc32
Normal file
File diff suppressed because it is too large
Load Diff
@@ -24,3 +24,4 @@ ios-fixes
|
|||||||
bad-abi-fix
|
bad-abi-fix
|
||||||
msvcc
|
msvcc
|
||||||
fix_maxopt
|
fix_maxopt
|
||||||
|
fix-ppc32
|
||||||
|
|||||||
@@ -958,7 +958,10 @@ ffi_prep_closure_loc (ffi_closure *closure,
|
|||||||
#else
|
#else
|
||||||
unsigned int *tramp;
|
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;
|
return FFI_BAD_ABI;
|
||||||
|
|
||||||
tramp = (unsigned int *) &closure->tramp[0];
|
tramp = (unsigned int *) &closure->tramp[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user