diff options
author | Josh Triplett <josh@joshtriplett.org> | 2015-07-26 16:27:34 -0700 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2015-07-26 17:18:16 -0700 |
commit | 1f6b5a91f417ac77d2fe9b0b3eb66293db132e2e (patch) | |
tree | 33cdf2d8850294de38b17a3fb0c04c86fb851cc5 /configure.host | |
parent | 6de51f3e04e496901ea1bd8f9b44f75c9f01b599 (diff) | |
download | libffi-1f6b5a91f417ac77d2fe9b0b3eb66293db132e2e.tar.gz |
Support the WIN64/EFI64 calling convention on all X86_64 platforms
Add a new calling convention FFI_EFI64, alias FFI_WIN64, on all X86_64
platforms. This allows libffi compiled on a 64-bit x86 platform to call
EFI functions.
Compile in ffiw64.c and win64.S on all X86_64 platforms. When compiled
for a platform other than X86_WIN64, ffiw64.c suffixes its functions
with _efi64, to avoid conflict with the platform's actual
implementations of those functions.
Diffstat (limited to 'configure.host')
-rw-r--r-- | configure.host | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.host b/configure.host index c6f6a02..a4a22b7 100644 --- a/configure.host +++ b/configure.host @@ -246,7 +246,7 @@ case "${TARGET}" in SOURCES="ffi.c sysv.S" ;; X86_64) - SOURCES="ffi64.c unix64.S" + SOURCES="ffi64.c unix64.S ffiw64.c win64.S" ;; X86_WIN64) SOURCES="ffiw64.c win64.S" |