]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
Added "#define ASM_PFX(name) _##name" for GNU assembly code preprocessing
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index 2dccac4eb07a286f0a919deda7e0cc3a92462b78..5fdb55077b21fe816d29c076a91520c661966ce2 100644 (file)
@@ -193,5 +193,12 @@ typedef INT32   INTN;
   #define GLOBAL_REMOVE_IF_UNREFERENCED\r
 #endif\r
 \r
+//\r
+// For symbol name in GNU assembly code, an extra "_" is necessary\r
+//\r
+#if __GNUC__\r
+  #define ASM_PFX(name) _##name    \r
+#endif\r
+\r
 #endif\r
 \r