summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PrePeiCore
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg/PrePeiCore')
-rw-r--r--ArmPlatformPkg/PrePeiCore/AArch64/Exception.S2
-rw-r--r--ArmPlatformPkg/PrePeiCore/AArch64/Helper.S4
-rw-r--r--ArmPlatformPkg/PrePeiCore/AArch64/SwitchStack.S2
3 files changed, 4 insertions, 4 deletions
diff --git a/ArmPlatformPkg/PrePeiCore/AArch64/Exception.S b/ArmPlatformPkg/PrePeiCore/AArch64/Exception.S
index 1fc39e68a1..cdc8d925bc 100644
--- a/ArmPlatformPkg/PrePeiCore/AArch64/Exception.S
+++ b/ArmPlatformPkg/PrePeiCore/AArch64/Exception.S
@@ -18,7 +18,7 @@
.text
.align 11
-ASM_GLOBAL ASM_PFX(PeiVectorTable)
+GCC_ASM_EXPORT(PeiVectorTable)
//============================================================
//Default Exception Handlers
diff --git a/ArmPlatformPkg/PrePeiCore/AArch64/Helper.S b/ArmPlatformPkg/PrePeiCore/AArch64/Helper.S
index a11cda06d1..8e23b03896 100644
--- a/ArmPlatformPkg/PrePeiCore/AArch64/Helper.S
+++ b/ArmPlatformPkg/PrePeiCore/AArch64/Helper.S
@@ -18,8 +18,8 @@
.text
.align 3
-ASM_GLOBAL ASM_PFX(SetupExceptionLevel1)
-ASM_GLOBAL ASM_PFX(SetupExceptionLevel2)
+GCC_ASM_EXPORT(SetupExceptionLevel1)
+GCC_ASM_EXPORT(SetupExceptionLevel2)
// Setup EL1 while in EL1
ASM_PFX(SetupExceptionLevel1):
diff --git a/ArmPlatformPkg/PrePeiCore/AArch64/SwitchStack.S b/ArmPlatformPkg/PrePeiCore/AArch64/SwitchStack.S
index d3fcd0aa13..8d83510517 100644
--- a/ArmPlatformPkg/PrePeiCore/AArch64/SwitchStack.S
+++ b/ArmPlatformPkg/PrePeiCore/AArch64/SwitchStack.S
@@ -17,7 +17,7 @@
.text
.align 3
-ASM_GLOBAL ASM_PFX(SecSwitchStack)
+GCC_ASM_EXPORT(SecSwitchStack)