OSDN Git Service

* src/sh/ffi.c (ffi_call): Handle small structures correctly.
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2005 23:32:01 +0000 (23:32 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2005 23:32:01 +0000 (23:32 +0000)
commitcef3f52b70cc5462735cb99bf1bf36ea5ee2e949
treee730225b648228a800a11c7a0182daab21d52360
parent4569287ff8dcf1b60d9c7133fc8cda7b866a8a2f
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102210 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/src/sh/ffi.c
libffi/src/sh64/ffi.c
libffi/src/sh64/sysv.S