make change to support UnixPkg build. The changes are listed as follows:
1. change ASM_PFX() macro, the underscore preceding to function symbol don't be added in Linux. 2. move some illegal characters in .S file. 3. change ELFGCC flag in tools_def.template to support Linux&ELFGCC build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5381 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -197,7 +197,11 @@ typedef INT32 INTN;
|
||||
// For symbol name in GNU assembly code, an extra "_" is necessary
|
||||
//
|
||||
#if __GNUC__
|
||||
#define ASM_PFX(name) _##name
|
||||
#if defined(linux)
|
||||
#define ASM_PFX(name) name
|
||||
#else
|
||||
#define ASM_PFX(name) _##name
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define FUNCTION_ENTRY_POINT(p) (p)
|
||||
|
Reference in New Issue
Block a user