diff options
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Include/X64')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h | 7 |
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
|