summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-20 10:40:29 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-20 10:40:29 +0000
commitf4efc39f3433222df6118484e735e7b9c2f487fc (patch)
treefebfe87c7d29f33f267376dd37600bc410b8f5aa /MdePkg/Include
parentced10e2ed2097c10a6b96b1c3a3a1ffbf0a23df7 (diff)
downloadedk2-platforms-f4efc39f3433222df6118484e735e7b9c2f487fc.tar.xz
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
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Ipf/ProcessorBind.h6
1 files changed, 6 insertions, 0 deletions
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.
///