summaryrefslogtreecommitdiff
path: root/libffi/src/x86/ffitarget.h
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2009-06-05 12:55:06 +0000
committerAndrew Haley <aph@gcc.gnu.org>2009-06-05 12:55:06 +0000
commit56faec5e60255d9bec6669d919c1b7318282a115 (patch)
treea229251793b1d52c44d64defbf272fc8dcde0e40 /libffi/src/x86/ffitarget.h
parent47d1f19159314bb55589dfea175435b52234a036 (diff)
downloadgcc-56faec5e60255d9bec6669d919c1b7318282a115.tar.gz
ffitarget.h, ffi.c: Merge stdcall changes from libffi.
2009-06-05 Andrew Haley <aph@redhat.com> * src/x86/ffitarget.h, src/x86/ffi.c: Merge stdcall changes from libffi. From-SVN: r148207
Diffstat (limited to 'libffi/src/x86/ffitarget.h')
-rw-r--r--libffi/src/x86/ffitarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libffi/src/x86/ffitarget.h b/libffi/src/x86/ffitarget.h
index 25dcc1b9239..8178d064821 100644
--- a/libffi/src/x86/ffitarget.h
+++ b/libffi/src/x86/ffitarget.h
@@ -78,7 +78,11 @@ typedef enum ffi_abi {
#define FFI_TRAMPOLINE_SIZE 24
#define FFI_NATIVE_RAW_API 0
#else
+#ifdef X86_WIN32
+#define FFI_TRAMPOLINE_SIZE 13
+#else
#define FFI_TRAMPOLINE_SIZE 10
+#endif
#define FFI_NATIVE_RAW_API 1 /* x86 has native raw api support */
#endif