diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2008-01-05 20:49:41 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2008-01-05 21:49:41 +0100 |
commit | d7b07cc7304ad61bcdf4a1eb7a5a7a15fe856b04 (patch) | |
tree | 1e5407100f6d327c2575e12a2213ac4154a55522 /gcc/fortran/interface.c | |
parent | 5a37a60ccbdcbb5ae1c416d7292a0080f7aa0eb5 (diff) | |
download | gcc-d7b07cc7304ad61bcdf4a1eb7a5a7a15fe856b04.zip gcc-d7b07cc7304ad61bcdf4a1eb7a5a7a15fe856b04.tar.gz gcc-d7b07cc7304ad61bcdf4a1eb7a5a7a15fe856b04.tar.bz2 |
re PR testsuite/32843 (libffi.call/return_sc.c)
2008-01-05 Andreas Tobler <a.tobler@schweiz.org>
PR testsuite/32843
* src/x86/ffi.c (ffi_prep_cif_machdep): Add code for
signed/unsigned int8/16 for X86_DARWIN.
Updated copyright info.
Handle one and two byte structs with special cif->flags.
* src/x86/ffitarget.h: Add special types for one and two byte structs.
Updated copyright info.
* src/x86/darwin.S (ffi_call_SYSV): Rewrite to use a jump table like
sysv.S
Remove code to pop args from the stack after call.
Special-case signed/unsigned for int8/16, one and two byte structs.
(ffi_closure_raw_SYSV): Handle FFI_TYPE_UINT8,
FFI_TYPE_SINT8, FFI_TYPE_UINT16, FFI_TYPE_SINT16, FFI_TYPE_UINT32,
FFI_TYPE_SINT32.
Updated copyright info.
From-SVN: r131343
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions