ffi.c (ffi_call): Handle small structures correctly.
authorKaz Kojima <kkojima@gcc.gnu.org>
Wed, 20 Jul 2005 23:32:01 +0000 (23:32 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Wed, 20 Jul 2005 23:32:01 +0000 (23:32 +0000)
commit5d0317fccc05045d73439d30afb00cb710fa9a82
treee730225b648228a800a11c7a0182daab21d52360
parent3a664c1c0057af42505542782c1a49eecce5597e
ffi.c (ffi_call): Handle small structures correctly.

* src/sh/ffi.c (ffi_call): Handle small structures correctly.
Remove empty line.
* src/sh64/ffi.c (simple_type): Remove.
(return_type): Handle small structures correctly.
(ffi_prep_args): Likewise.
(ffi_call): Likewise.
(ffi_closure_helper_SYSV): Likewise.
* src/sh64/sysv.S (ffi_call_SYSV): Handle 1, 2 and 4-byte return.
Emit position independent code if PIC and remove wrong datalabel
prefixes from EH data.

From-SVN: r102210
libffi/ChangeLog
libffi/src/sh/ffi.c
libffi/src/sh64/ffi.c
libffi/src/sh64/sysv.S