summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/Sec/AArch64/Helper.S
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg/Sec/AArch64/Helper.S')
-rw-r--r--ArmPlatformPkg/Sec/AArch64/Helper.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/ArmPlatformPkg/Sec/AArch64/Helper.S b/ArmPlatformPkg/Sec/AArch64/Helper.S
index 490d3df12d..259aca4856 100644
--- a/ArmPlatformPkg/Sec/AArch64/Helper.S
+++ b/ArmPlatformPkg/Sec/AArch64/Helper.S
@@ -18,11 +18,11 @@
.text
.align 3
-ASM_GLOBAL ASM_PFX(SwitchToNSExceptionLevel1)
-ASM_GLOBAL ASM_PFX(enter_monitor_mode)
-ASM_GLOBAL ASM_PFX(return_from_exception)
-ASM_GLOBAL ASM_PFX(copy_cpsr_into_spsr)
-ASM_GLOBAL ASM_PFX(set_non_secure_mode)
+GCC_ASM_EXPORT(SwitchToNSExceptionLevel1)
+GCC_ASM_EXPORT(enter_monitor_mode)
+GCC_ASM_EXPORT(return_from_exception)
+GCC_ASM_EXPORT(copy_cpsr_into_spsr)
+GCC_ASM_EXPORT(set_non_secure_mode)
// Switch from EL3 to NS-EL1
ASM_PFX(SwitchToNSExceptionLevel1):