summaryrefslogtreecommitdiff
path: root/ArmPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r--ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S40
-rw-r--r--ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S2
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/AArch64/memcpy.S2
3 files changed, 22 insertions, 22 deletions
diff --git a/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S b/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
index c6087aa619..1ac01086aa 100644
--- a/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
+++ b/ArmPkg/Library/ArmLib/AArch64/AArch64ArchTimerSupport.S
@@ -15,26 +15,26 @@
.text
.align 2
-ASM_GLOBAL ASM_PFX(ArmReadCntFrq)
-ASM_GLOBAL ASM_PFX(ArmWriteCntFrq)
-ASM_GLOBAL ASM_PFX(ArmReadCntPct)
-ASM_GLOBAL ASM_PFX(ArmReadCntkCtl)
-ASM_GLOBAL ASM_PFX(ArmWriteCntkCtl)
-ASM_GLOBAL ASM_PFX(ArmReadCntpTval)
-ASM_GLOBAL ASM_PFX(ArmWriteCntpTval)
-ASM_GLOBAL ASM_PFX(ArmReadCntpCtl)
-ASM_GLOBAL ASM_PFX(ArmWriteCntpCtl)
-ASM_GLOBAL ASM_PFX(ArmReadCntvTval)
-ASM_GLOBAL ASM_PFX(ArmWriteCntvTval)
-ASM_GLOBAL ASM_PFX(ArmReadCntvCtl)
-ASM_GLOBAL ASM_PFX(ArmWriteCntvCtl)
-ASM_GLOBAL ASM_PFX(ArmReadCntvCt)
-ASM_GLOBAL ASM_PFX(ArmReadCntpCval)
-ASM_GLOBAL ASM_PFX(ArmWriteCntpCval)
-ASM_GLOBAL ASM_PFX(ArmReadCntvCval)
-ASM_GLOBAL ASM_PFX(ArmWriteCntvCval)
-ASM_GLOBAL ASM_PFX(ArmReadCntvOff)
-ASM_GLOBAL ASM_PFX(ArmWriteCntvOff)
+GCC_ASM_EXPORT(ArmReadCntFrq)
+GCC_ASM_EXPORT(ArmWriteCntFrq)
+GCC_ASM_EXPORT(ArmReadCntPct)
+GCC_ASM_EXPORT(ArmReadCntkCtl)
+GCC_ASM_EXPORT(ArmWriteCntkCtl)
+GCC_ASM_EXPORT(ArmReadCntpTval)
+GCC_ASM_EXPORT(ArmWriteCntpTval)
+GCC_ASM_EXPORT(ArmReadCntpCtl)
+GCC_ASM_EXPORT(ArmWriteCntpCtl)
+GCC_ASM_EXPORT(ArmReadCntvTval)
+GCC_ASM_EXPORT(ArmWriteCntvTval)
+GCC_ASM_EXPORT(ArmReadCntvCtl)
+GCC_ASM_EXPORT(ArmWriteCntvCtl)
+GCC_ASM_EXPORT(ArmReadCntvCt)
+GCC_ASM_EXPORT(ArmReadCntpCval)
+GCC_ASM_EXPORT(ArmWriteCntpCval)
+GCC_ASM_EXPORT(ArmReadCntvCval)
+GCC_ASM_EXPORT(ArmWriteCntvCval)
+GCC_ASM_EXPORT(ArmReadCntvOff)
+GCC_ASM_EXPORT(ArmWriteCntvOff)
ASM_PFX(ArmReadCntFrq):
mrs x0, cntfrq_el0 // Read CNTFRQ
diff --git a/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S b/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S
index f97bf150d3..525c1287ef 100644
--- a/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S
+++ b/ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S
@@ -25,7 +25,7 @@
.text
.align 3
-ASM_GLOBAL ASM_PFX(SecondariesPenStart)
+GCC_ASM_EXPORT(SecondariesPenStart)
ASM_GLOBAL SecondariesPenEnd
ASM_PFX(SecondariesPenStart):
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/AArch64/memcpy.S b/ArmPkg/Library/CompilerIntrinsicsLib/AArch64/memcpy.S
index 18433b3d50..66102da14b 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/AArch64/memcpy.S
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/AArch64/memcpy.S
@@ -31,7 +31,7 @@
.align 2
-ASM_GLOBAL ASM_PFX(memcpy)
+GCC_ASM_EXPORT(memcpy)
// Taken from Newlib BSD implementation.