]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Define macro for .global/.globl in assembly.
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 May 2009 10:40:29 +0000 (10:40 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 May 2009 10:40:29 +0000 (10:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8348 6f19259b-4bc3-4df7-8a09-765794883524

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