MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang

When compiling with Clang, we still use GNU as for the assembler, so we still need to define the GCC_ASM* macros.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16282 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2014-10-31 14:05:09 +00:00 committed by oliviermartin
parent f7fe68db7d
commit ba0a34f15f
2 changed files with 6 additions and 2 deletions

View File

@ -111,7 +111,9 @@ typedef INT64 INTN;
//
#define EFIAPI
#if defined(__GNUC__)
// When compiling with Clang, we still use GNU as for the assembler, so we still
// need to define the GCC_ASM* macros.
#if defined(__GNUC__) || defined(__clang__)
///
/// For GNU assembly code, .global or .globl can declare global symbols.
/// Define this macro to unify the usage.

View File

@ -110,7 +110,9 @@ typedef INT32 INTN;
//
#define EFIAPI
#if defined(__GNUC__)
// When compiling with Clang, we still use GNU as for the assembler, so we still
// need to define the GCC_ASM* macros.
#if defined(__GNUC__) || defined(__clang__)
///
/// For GNU assembly code, .global or .globl can declare global symbols.
/// Define this macro to unify the usage.