mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 21:54:27 +02:00
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:
parent
efc69967c4
commit
27af6b876a
@ -193,5 +193,12 @@ typedef INT32 INTN;
|
|||||||
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// For symbol name in GNU assembly code, an extra "_" is necessary
|
||||||
|
//
|
||||||
|
#if __GNUC__
|
||||||
|
#define ASM_PFX(name) _##name
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -225,5 +225,12 @@ typedef INT64 INTN;
|
|||||||
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// For symbol name in GNU assembly code, an extra "_" is necessary
|
||||||
|
//
|
||||||
|
#if __GNUC__
|
||||||
|
#define ASM_PFX(name) _##name
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user