X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FAArch64%2FProcessorBind.h;fp=MdePkg%2FInclude%2FAArch64%2FProcessorBind.h;h=c5fe874b1bd016de2fc634bfaaaa2ca5a3d926a1;hp=f09b15a55800bf9a17f2bf81a80c0dd2a9e1f996;hb=ba0a34f15f3a3633c1e8d179ab13595413530b29;hpb=f7fe68db7dad70646523a6ae2442f592651df8d9 diff --git a/MdePkg/Include/AArch64/ProcessorBind.h b/MdePkg/Include/AArch64/ProcessorBind.h index f09b15a558..c5fe874b1b 100644 --- a/MdePkg/Include/AArch64/ProcessorBind.h +++ b/MdePkg/Include/AArch64/ProcessorBind.h @@ -111,7 +111,9 @@ typedef INT64 INTN; // #define EFIAPI -#if defined(__GNUC__) +// When compiling with Clang, we still use GNU as for the assembler, so we still +// need to define the GCC_ASM* macros. +#if defined(__GNUC__) || defined(__clang__) /// /// For GNU assembly code, .global or .globl can declare global symbols. /// Define this macro to unify the usage.