This ensures the .type directive is used to mark them as function symbols
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17904
6f19259b-4bc3-4df7-8a09-
765794883524
-ASM_GLOBAL ASM_PFX(CpuFlushTlb)\r
+GCC_ASM_EXPORT(CpuFlushTlb)\r
\r
#/**\r
# Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
\r
#/**\r
# Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
-ASM_GLOBAL ASM_PFX(CpuSleep)\r
+GCC_ASM_EXPORT(CpuSleep)\r
\r
#/**\r
# Places the CPU in a sleep state until an interrupt is received.\r
\r
#/**\r
# Places the CPU in a sleep state until an interrupt is received.\r
-ASM_GLOBAL ASM_PFX(CpuBreakpoint)\r
+GCC_ASM_EXPORT(CpuBreakpoint)\r
\r
#/**\r
# Generates a breakpoint on the CPU.\r
\r
#/**\r
# Generates a breakpoint on the CPU.\r
-ASM_GLOBAL ASM_PFX(DisableInterrupts)\r
+GCC_ASM_EXPORT(DisableInterrupts)\r
\r
#/**\r
# Disables CPU interrupts.\r
\r
#/**\r
# Disables CPU interrupts.\r
-ASM_GLOBAL ASM_PFX(EnableInterrupts)\r
+GCC_ASM_EXPORT(EnableInterrupts)\r
-ASM_GLOBAL ASM_PFX(GetInterruptState)\r
+GCC_ASM_EXPORT(GetInterruptState)\r
\r
#/**\r
# Retrieves the current CPU interrupt state.\r
\r
#/**\r
# Retrieves the current CPU interrupt state.\r
-ASM_GLOBAL ASM_PFX(SetJump)\r
-ASM_GLOBAL ASM_PFX(InternalLongJump)\r
+GCC_ASM_EXPORT(SetJump)\r
+GCC_ASM_EXPORT(InternalLongJump)\r
\r
#define GPR_LAYOUT \\r
REG_PAIR (x19, x20, 0); \\r
\r
#define GPR_LAYOUT \\r
REG_PAIR (x19, x20, 0); \\r
-ASM_GLOBAL ASM_PFX(InternalSwitchStackAsm)\r
-ASM_GLOBAL ASM_PFX(CpuPause)\r
+GCC_ASM_EXPORT(InternalSwitchStackAsm)\r
+GCC_ASM_EXPORT(CpuPause)\r