mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
Remove __APPLE__ usage in ProcessorBind.h files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8362 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
67d632277d
commit
7b2cc5499f
@ -333,7 +333,7 @@ typedef INT32 INTN;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// For symbol name in GNU assembly code, an extra "_" is necessary
|
// Macros for GNU assembly code
|
||||||
//
|
//
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#if defined(linux)
|
#if defined(linux)
|
||||||
@ -341,11 +341,11 @@ typedef INT32 INTN;
|
|||||||
#else
|
#else
|
||||||
#define ASM_PFX(name) _##name
|
#define ASM_PFX(name) _##name
|
||||||
#endif
|
#endif
|
||||||
#if defined(__APPLE__)
|
///
|
||||||
|
/// For GNU assembly code, .global or .globl can declare global symbols.
|
||||||
|
/// Define this macro to unify the usage.
|
||||||
|
///
|
||||||
#define ASM_GLOBAL .globl
|
#define ASM_GLOBAL .globl
|
||||||
#else
|
|
||||||
#define ASM_GLOBAL .global
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -392,11 +392,11 @@ typedef INT64 INTN;
|
|||||||
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
///
|
||||||
#define ASM_GLOBAL .globl
|
/// For GNU assembly code, .global or .globl can declare global symbols.
|
||||||
#else
|
/// Define this macro to unify the usage.
|
||||||
#define ASM_GLOBAL .global
|
///
|
||||||
#endif
|
#define ASM_GLOBAL .globl
|
||||||
|
|
||||||
///
|
///
|
||||||
/// A pointer to a function in IPF points to a plabel.
|
/// A pointer to a function in IPF points to a plabel.
|
||||||
|
@ -397,7 +397,7 @@ typedef INT64 INTN;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// For symbol name in GNU assembly code, an extra "_" is necessary
|
// Macros for GNU assembly code
|
||||||
//
|
//
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#if defined(linux)
|
#if defined(linux)
|
||||||
@ -405,11 +405,11 @@ typedef INT64 INTN;
|
|||||||
#else
|
#else
|
||||||
#define ASM_PFX(name) _##name
|
#define ASM_PFX(name) _##name
|
||||||
#endif
|
#endif
|
||||||
#if defined(__APPLE__)
|
///
|
||||||
|
/// For GNU assembly code, .global or .globl can declare global symbols.
|
||||||
|
/// Define this macro to unify the usage.
|
||||||
|
///
|
||||||
#define ASM_GLOBAL .globl
|
#define ASM_GLOBAL .globl
|
||||||
#else
|
|
||||||
#define ASM_GLOBAL .global
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user