re PR libffi/13141 (FAIL: InvokeReturn output - source compiled test <libffi problem>)
authorDavid Daney <ddaney@avtrex.com>
Mon, 23 Aug 2004 16:49:17 +0000 (16:49 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Mon, 23 Aug 2004 16:49:17 +0000 (16:49 +0000)
commit39dca114a945ec4f22b2a1f89a2bfd6434d433cd
tree626756a6b5df83c58d0ff6beaaa599cb6efca6ce
parent106a7200994014087d9dfcc0ce8f437c8623bce9
re PR libffi/13141 (FAIL: InvokeReturn output - source compiled test <libffi problem>)

2004-08-23  David Daney <daney@avtrex.com>

PR libgcj/13141
* src/mips/ffitarget.h (FFI_O32_SOFT_FLOAT): New ABI.
* src/mips/ffi.c (ffi_prep_args): Fix alignment calculation.
(ffi_prep_cif_machdep): Handle FFI_O32_SOFT_FLOAT floating point
parameters and return types.
(ffi_call): Handle FFI_O32_SOFT_FLOAT ABI.
(ffi_prep_closure): Ditto.
(ffi_closure_mips_inner_O32): Handle FFI_O32_SOFT_FLOAT ABI, fix
alignment calculations.
* src/mips/o32.S (ffi_closure_O32): Don't use floating point
instructions if FFI_O32_SOFT_FLOAT, make stack frame ABI compliant.

From-SVN: r86429
libffi/ChangeLog
libffi/src/mips/ffi.c
libffi/src/mips/ffitarget.h
libffi/src/mips/o32.S