diff options
author | Kai Tietz <ktietz@redhat.com> | 2012-01-29 14:29:53 +0100 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2012-01-29 14:29:53 +0100 |
commit | 9b850dd969cf8394b68743dd5bc115c662f0725a (patch) | |
tree | 07d8149ae6b2c61efbc0e6687a4213386743e439 /gcc/fortran/trans-common.c | |
parent | ae98156eaefcf5818bd20f17ed333eb42472b157 (diff) | |
download | gcc-9b850dd969cf8394b68743dd5bc115c662f0725a.zip gcc-9b850dd969cf8394b68743dd5bc115c662f0725a.tar.gz gcc-9b850dd969cf8394b68743dd5bc115c662f0725a.tar.bz2 |
ffi.c (ffi_call_win32): Add new argument to prototype for specify calling-convention.
* src/libffi/src/x86/ffi.c (ffi_call_win32): Add new
argument to prototype for specify calling-convention.
(ffi_call): Add support for stdcall/thiscall convention.
(ffi_prep_args): Likewise.
(ffi_raw_call): Likewise.
* src/x86/ffitarget.h (ffi_abi): Add FFI_THISCALL and
FFI_FASTCALL.
* src/x86/win32.S (_ffi_call_win32): Add support for
fastcall/thiscall calling-convention calls.
* testsuite/libffi.call/fastthis1_win32.c: New test.
* testsuite/libffi.call/fastthis2_win32.c: New test.
* testsuite/libffi.call/fastthis3_win32.c: New test.
* testsuite/libffi.call/strlen2_win32.c: New test.
* testsuite/libffi.call/many2_win32.c: New test.
* testsuite/libffi.call/struct1_win32.c: New test.
* testsuite/libffi.call/struct2_win32.c: New test.
From-SVN: r183676
Diffstat (limited to 'gcc/fortran/trans-common.c')
0 files changed, 0 insertions, 0 deletions