Added "#define ASM_PFX(name) _##name" for GNU assembly code preprocessing

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3409 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-07-24 05:34:35 +00:00
parent efc69967c4
commit 27af6b876a
2 changed files with 14 additions and 0 deletions

View File

@ -193,5 +193,12 @@ typedef INT32 INTN;
#define GLOBAL_REMOVE_IF_UNREFERENCED
#endif
//
// For symbol name in GNU assembly code, an extra "_" is necessary
//
#if __GNUC__
#define ASM_PFX(name) _##name
#endif
#endif

View File

@ -225,5 +225,12 @@ typedef INT64 INTN;
#define GLOBAL_REMOVE_IF_UNREFERENCED
#endif
//
// For symbol name in GNU assembly code, an extra "_" is necessary
//
#if __GNUC__
#define ASM_PFX(name) _##name
#endif
#endif