]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
Remove __APPLE__ usage in ProcessorBind.h files.
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index a397f4b4b517a29eefe529bf7fe8c69c2bc5d096..5bb57fc7e208455a0c16cdbc6eb69d2dd8f23d2c 100644 (file)
@@ -333,7 +333,7 @@ typedef INT32   INTN;
 #endif\r
 \r
 //\r
-// For symbol name in GNU assembly code, an extra "_" is necessary\r
+// Macros for GNU assembly code\r
 //\r
 #if defined(__GNUC__)\r
   #if defined(linux)\r
@@ -341,11 +341,11 @@ typedef INT32   INTN;
   #else\r
     #define ASM_PFX(name) _##name\r
   #endif \r
-  #if defined(__APPLE__)\r
-    #define ASM_GLOBAL .globl\r
-  #else\r
-    #define ASM_GLOBAL .global\r
-  #endif \r
+  ///\r
+  /// For GNU assembly code, .global or .globl can declare global symbols.\r
+  /// Define this macro to unify the usage.\r
+  ///\r
+  #define ASM_GLOBAL .globl\r
 #endif\r
 \r
 /**\r