diff options
author | Nigel Croxon <ncroxon@redhat.com> | 2013-06-25 08:45:44 -0400 |
---|---|---|
committer | Nigel Croxon <ncroxon@redhat.com> | 2013-06-25 08:45:44 -0400 |
commit | 401d5b7194175a75a673c0e710417c1accc27dca (patch) | |
tree | 3685a2b50ad8c21b1edc0a74acf19a0514087568 | |
parent | 8cb1e8771f3f07a83f9b19a57bbe5399d98f1553 (diff) | |
download | gnu-efi-3.0-401d5b7194175a75a673c0e710417c1accc27dca.tar.gz gnu-efi-3.0-401d5b7194175a75a673c0e710417c1accc27dca.tar.xz gnu-efi-3.0-401d5b7194175a75a673c0e710417c1accc27dca.zip |
fix compilation on x86_64 without HAVE_USE_MS_ABI
make -C apps would fail on tcc.c because uefi_call_wrapper() doesn't
deal correctly with efi_call0-type invocation. Fixed by this patch.
Signed-off-by: David Decotigny <decot@googlers.com>
-rw-r--r-- | gnu-efi-3.0/inc/x86_64/efibind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu-efi-3.0/inc/x86_64/efibind.h b/gnu-efi-3.0/inc/x86_64/efibind.h index 065a965..2133798 100644 --- a/gnu-efi-3.0/inc/x86_64/efibind.h +++ b/gnu-efi-3.0/inc/x86_64/efibind.h @@ -368,7 +368,7 @@ UINT64 efi_call10(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, /* main wrapper (va_num ignored) */ #define uefi_call_wrapper(func,va_num,...) \ - __VA_ARG_NSUFFIX__(_cast64_efi_call, __VA_ARGS__) (func, __VA_ARGS__) + __VA_ARG_NSUFFIX__(_cast64_efi_call, __VA_ARGS__) (func , ##__VA_ARGS__) #endif #define EFI_FUNCTION __attribute__((ms_abi)) |