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
This commit is contained in:
xli24 2009-05-20 10:40:29 +00:00
parent ced10e2ed2
commit f4efc39f34
1 changed files with 6 additions and 0 deletions

View File

@ -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.
///