diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-28 15:54:28 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-28 15:54:28 +0000 |
commit | 967ae8fb4f3b870e3f0eac73dd6ddb68d62a356e (patch) | |
tree | 4358058cbc23b14ef6f68da5f957507281355c64 /libffi/include | |
parent | 706b8ca63157e9e64e6184ea09bd7db03ccd727f (diff) | |
download | gcc-967ae8fb4f3b870e3f0eac73dd6ddb68d62a356e.tar.gz |
2003-01-28 Andrew Haley <aph@redhat.com>
* include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
* src/x86/ffi64.c (ffi_prep_closure): New.
(ffi_closure_UNIX64_inner): New.
* src/x86/unix64.S (ffi_closure_UNIX64): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include')
-rw-r--r-- | libffi/include/ffi.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index bc15daace04..02853846c9f 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -471,6 +471,12 @@ struct ffi_ia64_trampoline_struct { #define FFI_TRAMPOLINE_SIZE 16 #define FFI_NATIVE_RAW_API 0 +#elif defined(__x86_64__) + +#define FFI_CLOSURES 1 +#define FFI_TRAMPOLINE_SIZE 24 +#define FFI_NATIVE_RAW_API 0 + #else #define FFI_CLOSURES 0 |