This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/32843] [4.3 Regression] : libffi.call/return_sc.c
- From: "andreast at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2008 20:50:25 -0000
- Subject: [Bug testsuite/32843] [4.3 Regression] : libffi.call/return_sc.c
- References: <bug-32843-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from andreast at gcc dot gnu dot org 2008-01-05 20:50 -------
Subject: Bug 32843
Author: andreast
Date: Sat Jan 5 20:49:41 2008
New Revision: 131343
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131343
Log:
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.
Modified:
trunk/libffi/ChangeLog
trunk/libffi/src/x86/darwin.S
trunk/libffi/src/x86/ffi.c
trunk/libffi/src/x86/ffitarget.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32843