diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-20 10:40:29 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-20 10:40:29 +0000 |
commit | f4efc39f3433222df6118484e735e7b9c2f487fc (patch) | |
tree | febfe87c7d29f33f267376dd37600bc410b8f5aa /MdePkg | |
parent | ced10e2ed2097c10a6b96b1c3a3a1ffbf0a23df7 (diff) | |
download | edk2-f4efc39f3433222df6118484e735e7b9c2f487fc.tar.gz edk2-f4efc39f3433222df6118484e735e7b9c2f487fc.tar.bz2 edk2-f4efc39f3433222df6118484e735e7b9c2f487fc.zip |
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')
-rw-r--r-- | MdePkg/Include/Ipf/ProcessorBind.h | 6 |
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.
///
|