From d5172f911d21d03a3a4f50cb6ebe89854d191e4d Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 20 May 2009 09:42:59 +0000 Subject: 1. Remove .extern from GCC assembly. 2. Define macro for .global/.globl in GCC assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ia32/ProcessorBind.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MdePkg/Include/Ia32') diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 9cb4eac8cf..a397f4b4b5 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -341,6 +341,11 @@ typedef INT32 INTN; #else #define ASM_PFX(name) _##name #endif + #if defined(__APPLE__) + #define ASM_GLOBAL .globl + #else + #define ASM_GLOBAL .global + #endif #endif /** -- cgit v1.2.3