diff options
author | Andrew Haley <aph@redhat.com> | 2003-01-28 15:54:28 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2003-01-28 15:54:28 +0000 |
commit | fd2e49b2ac150ae71647967475b83f6dc8d2b7ca (patch) | |
tree | 4358058cbc23b14ef6f68da5f957507281355c64 /libffi/include | |
parent | 447ff38fbaa1664a013c39335c63681083f400df (diff) | |
download | gcc-fd2e49b2ac150ae71647967475b83f6dc8d2b7ca.zip gcc-fd2e49b2ac150ae71647967475b83f6dc8d2b7ca.tar.gz gcc-fd2e49b2ac150ae71647967475b83f6dc8d2b7ca.tar.bz2 |
ffi.h.in: Enable FFI_CLOSURES for x86_64.
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.
From-SVN: r61978
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 bc15daa..0285384 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 |