From 919a3a026cdddcdd603d18e2c7dd5c72a340ee8b Mon Sep 17 00:00:00 2001 From: Brendan Jackman Date: Thu, 8 May 2014 14:55:52 +0000 Subject: ARM Packages: use GCC_ASM_EXPORT to export functions This ensures the .type directive is used to mark them as function symbols Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman Reviewed-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15506 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePeiCore/AArch64/Exception.S | 2 +- ArmPlatformPkg/PrePeiCore/AArch64/Helper.S | 4 ++-- ArmPlatformPkg/PrePeiCore/AArch64/SwitchStack.S | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ArmPlatformPkg/PrePeiCore') diff --git a/ArmPlatformPkg/PrePeiCore/AArch64/Exception.S b/ArmPlatformPkg/PrePeiCore/AArch64/Exception.S index 1fc39e6..cdc8d92 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 a11cda0..8e23b03 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 d3fcd0a..8d83510 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) -- cgit v1.1