diff options
author | Kai Tietz <ktietz@redhat.com> | 2012-02-08 22:35:19 +0100 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2012-02-08 22:35:19 +0100 |
commit | 893f430128424f440c6be9bcfd31a1b763307304 (patch) | |
tree | 04eccef5248b2631ad4b9a46a6f2bc4f49b8cd64 /libffi/ChangeLog | |
parent | ca1a91d62595d43ef50c23000caf2fbd21cda30b (diff) | |
download | gcc-893f430128424f440c6be9bcfd31a1b763307304.zip gcc-893f430128424f440c6be9bcfd31a1b763307304.tar.gz gcc-893f430128424f440c6be9bcfd31a1b763307304.tar.bz2 |
prep_cif.c (ffi_prep_cif): Allow for X86_WIN32 also FFI_THISCALL.
* src/prep_cif.c (ffi_prep_cif): Allow for X86_WIN32
also FFI_THISCALL.
* src/x86/ffi.c (ffi_closure_THISCALL): Add prototype.
(FFI_INIT_TRAMPOLINE_THISCALL): New trampoline code.
(ffi_prep_closure_loc): Add FFI_THISCALL support.
* src/x86/ffitarget.h (FFI_TRAMPOLINE_SIZE): Adjust size.
* src/x86/win32.S (ffi_closure_THISCALL): New closure code
for thiscall-calling convention.
* testsuite/libffi.call/closure_thiscall.c: New test.
From-SVN: r184021
Diffstat (limited to 'libffi/ChangeLog')
-rw-r--r-- | libffi/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 10ad4fc..47d31fa 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,15 @@ +2012-02-08 Kai Tietz <ktietz@redhat.com> + + * src/prep_cif.c (ffi_prep_cif): Allow for X86_WIN32 + also FFI_THISCALL. + * src/x86/ffi.c (ffi_closure_THISCALL): Add prototype. + (FFI_INIT_TRAMPOLINE_THISCALL): New trampoline code. + (ffi_prep_closure_loc): Add FFI_THISCALL support. + * src/x86/ffitarget.h (FFI_TRAMPOLINE_SIZE): Adjust size. + * src/x86/win32.S (ffi_closure_THISCALL): New closure code + for thiscall-calling convention. + * testsuite/libffi.call/closure_thiscall.c: New test. + 2012-01-28 Kai Tietz <ktietz@redhat.com> * src/libffi/src/x86/ffi.c (ffi_call_win32): Add new |