diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-26 21:55:35 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-26 21:55:35 +0000 |
commit | 297c148b7a05abc1a9dec34d63b35169e5f41809 (patch) | |
tree | bf395dbefb0eda77dd4aec16c58decb8c5a1d120 /EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h | |
parent | ab4eb9640e72bb97cd51a9d08838ec5678687a71 (diff) | |
download | edk2-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/Ia32/EfiBind.h')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h index 7c3c585b9e..61614355a8 100644 --- a/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h +++ b/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h @@ -295,7 +295,12 @@ typedef int32_t intn_t; #endif
-
+//
+// For symbol name in GNU assembly code, an extra "_" is necessary
+//
+#if __GNUC__
+ #define ASM_PFX(name) _##name
+#endif
#endif
|