From f4efc39f3433222df6118484e735e7b9c2f487fc Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 20 May 2009 10:40:29 +0000 Subject: Define macro for .global/.globl in assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8348 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ipf/ProcessorBind.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MdePkg/Include') diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 3532b7d4a4..9c41f3ebc1 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -392,6 +392,12 @@ typedef INT64 INTN; #define GLOBAL_REMOVE_IF_UNREFERENCED #endif +#if defined(__APPLE__) + #define ASM_GLOBAL .globl +#else + #define ASM_GLOBAL .global +#endif + /// /// A pointer to a function in IPF points to a plabel. /// -- cgit v1.2.3