ffi.c (ffi_pref_cif_machdep): set `cif->flags' to contain `FFI_TYPE_UINT64' as return...
commitb790003ae628e7ef7aeb86aef9ce5682d05de33c
authorCasey Marshall <csm@gnu.org>
Sun, 15 Aug 2004 04:05:18 +0000 (15 04:05 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Sun, 15 Aug 2004 04:05:18 +0000 (15 04:05 +0000)
treeb2274223d041019964ca2374b01f3ee5fb7107a2
parent53fb4de37502c525b7afef2401350a0797fd2373
ffi.c (ffi_pref_cif_machdep): set `cif->flags' to contain `FFI_TYPE_UINT64' as return type for any 64-bit...

2004-08-14  Casey Marshall <csm@gnu.org>

* src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to
contain `FFI_TYPE_UINT64' as return type for any 64-bit
integer (O32 ABI only).
(ffi_prep_closure): new function.
(ffi_closure_mips_inner_O32): new function.
* src/mips/ffitarget.h: Define `FFI_CLOSURES' and
`FFI_TRAMPOLINE_SIZE' appropriately if the ABI is o32.
* src/mips/o32.S (ffi_call_O32): add labels for .eh_frame. Return
64 bit integers correctly.
(ffi_closure_O32): new function.
Added DWARF-2 unwind info for both functions.

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