summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Include/X64
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-26 21:55:35 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-26 21:55:35 +0000
commit297c148b7a05abc1a9dec34d63b35169e5f41809 (patch)
treebf395dbefb0eda77dd4aec16c58decb8c5a1d120 /EdkCompatibilityPkg/Foundation/Include/X64
parentab4eb9640e72bb97cd51a9d08838ec5678687a71 (diff)
downloadedk2-platforms-297c148b7a05abc1a9dec34d63b35169e5f41809.tar.xz
edk2/EdkCompatibilityPkg/Foundation/Include/(Ia32|X64)/EfiBind.h:
Merge from MdePkg/Include/(Ia32|x64)/ProcessorBind.h for GCC support. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5293 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Include/X64')
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
index 52a223990d..19570c82b2 100644
--- a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
+++ b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h
@@ -248,7 +248,12 @@ typedef int64_t intn_t;
#endif
-
+//
+// For symbol name in GNU assembly code, an extra "_" is necessary
+//
+#if __GNUC__
+ #define ASM_PFX(name) _##name
+#endif
#endif