mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
Rebase from GCC
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
2012-01-28 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2012-01-23 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* src/m68k/sysv.S (ffi_call_SYSV): Properly test for plain
|
||||
mc68000. Test for __HAVE_68881__ in addition to __MC68881__.
|
||||
|
||||
2012-01-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/48496
|
||||
|
||||
@@ -389,7 +389,6 @@ psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sys_symbol_underscore = @sys_symbol_underscore@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
|
||||
@@ -176,9 +176,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
|
||||
#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
|
||||
#ifdef LIBFFI_ASM
|
||||
|
||||
Reference in New Issue
Block a user