re PR testsuite/32843 (libffi.call/return_sc.c)
authorAndrew Haley <aph@redhat.com>
Tue, 31 Jul 2007 15:05:52 +0000 (15:05 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Tue, 31 Jul 2007 15:05:52 +0000 (15:05 +0000)
commit387cfbba39c9e620b9e7425dbee7c32f8ff5f5f0
tree77d7eb285bfcbe2522e9774cf8c6e92ca56bd6a8
parent2bde7ae91a1edba5968c32ceb6f10b7b5ea98bfa
re PR testsuite/32843 (libffi.call/return_sc.c)

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.

From-SVN: r127093
libffi/ChangeLog
libffi/src/x86/ffi.c
libffi/src/x86/sysv.S
libffi/testsuite/libffi.call/return_sc.c