summaryrefslogtreecommitdiff
path: root/MdePkg/Include/X64/ProcessorBind.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/X64/ProcessorBind.h')
-rw-r--r--MdePkg/Include/X64/ProcessorBind.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/ProcessorBind.h
index 5ebc58d..363a2dc 100644
--- a/MdePkg/Include/X64/ProcessorBind.h
+++ b/MdePkg/Include/X64/ProcessorBind.h
@@ -404,7 +404,12 @@ typedef INT64 INTN;
#define ASM_PFX(name) name
#else
#define ASM_PFX(name) _##name
- #endif
+ #endif
+ ///
+ /// For GNU assembly code, .global or .globl can declare global symbols.
+ /// Define this macro to unify the usage.
+ ///
+ #define ASM_GLOBAL .globl
#endif
/**