X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIa32%2FProcessorBind.h;h=5fdb55077b21fe816d29c076a91520c661966ce2;hp=2dccac4eb07a286f0a919deda7e0cc3a92462b78;hb=27af6b876a70c49928bdae7bedbb72cba9a18171;hpb=efc69967c41fa29f5a3b74861508ae3f1e2e0369 diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 2dccac4eb0..5fdb55077b 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -193,5 +193,12 @@ typedef INT32 INTN; #define GLOBAL_REMOVE_IF_UNREFERENCED #endif +// +// For symbol name in GNU assembly code, an extra "_" is necessary +// +#if __GNUC__ + #define ASM_PFX(name) _##name +#endif + #endif