]> git.ipfire.org Git - thirdparty/gcc.git/commit
ffi.c (ffi_prep_args): Take account into the alignement for the register size.
authorKaz Kojima <kkojima@gcc.gnu.org>
Thu, 18 Sep 2003 14:08:20 +0000 (14:08 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Thu, 18 Sep 2003 14:08:20 +0000 (14:08 +0000)
commitdf805cdc5425ea8efb172156f02f7d331bffac2b
tree8668a37e11b5fc94252867a6093afcc0c2b61fe5
parent0b5ce4f15c22e4a60a28c8dc936531e7155af563
ffi.c (ffi_prep_args): Take account into the alignement for the register size.

* src/sh/ffi.c (ffi_prep_args): Take account into the alignement
for the register size.
(ffi_closure_helper_SYSV): Handle the structure return value
address correctly.
(ffi_closure_helper_SYSV): Return the appropriate type when
the registers are used for the structure return value.
* src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
the 64-bit return value.  Update copyright years.

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