OSDN Git Service

2007-07-30 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2007 15:05:52 +0000 (15:05 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2007 15:05:52 +0000 (15:05 +0000)
commitf6179f0eb3c5d8180dd8cc23796b8f54ead1a57b
tree77d7eb285bfcbe2522e9774cf8c6e92ca56bd6a8
parent1915b15f78dba46b19ab76aab06a03db5cc1825d
2007-07-30  Andrew Haley  <aph@redhat.com>

        PR testsuite/32843
        * src/x86/ffi.c (ffi_prep_cif_machdep): in x86 case, add code for
        signed/unsigned int8/16.
        * src/x86/sysv.S (ffi_call_SYSV): Rewrite to:
        Use a jump table.
        Remove code to pop args from the stack after call.
        Special-case signed/unsigned int8/16.
        * testsuite/libffi.call/return_sc.c (main): Revert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127093 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/src/x86/ffi.c
libffi/src/x86/sysv.S
libffi/testsuite/libffi.call/return_sc.c