2004-08-23 David Daney <daney@avtrex.com>
commit29ac6c831ece2e1030a2847e033854026a720139
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Aug 2004 16:49:17 +0000 (23 16:49 +0000)
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Aug 2004 16:49:17 +0000 (23 16:49 +0000)
tree626756a6b5df83c58d0ff6beaaa599cb6efca6ce
parent7ed481837af5c8daf986b12d6f4bb6442a1015c2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86429 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/src/mips/ffi.c
libffi/src/mips/ffitarget.h
libffi/src/mips/o32.S