]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ipf/ProcessorBind.h
Define macro for .global/.globl in assembly.
[mirror_edk2.git] / MdePkg / Include / Ipf / ProcessorBind.h
index 3532b7d4a408c509baa58e1b19defcc20f22c3e1..9c41f3ebc1dd5dbb40e4275b5a4894f0e12c18fb 100644 (file)
@@ -392,6 +392,12 @@ typedef INT64   INTN;
   #define GLOBAL_REMOVE_IF_UNREFERENCED\r
 #endif\r
 \r
+#if defined(__APPLE__)\r
+  #define ASM_GLOBAL .globl\r
+#else\r
+  #define ASM_GLOBAL .global\r
+#endif \r
+\r
 ///\r
 /// A pointer to a function in IPF points to a plabel.\r
 ///\r