summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers
diff options
context:
space:
mode:
authorBrendan Jackman <brendan.jackman@arm.com>2014-05-08 14:55:52 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-05-08 14:55:52 +0000
commit919a3a026cdddcdd603d18e2c7dd5c72a340ee8b (patch)
tree137a11ba7eed230b866cb90d9064747fb28099fa /ArmPkg/Drivers
parent45440744c45dabc709550023a4d3766f908e8f7c (diff)
downloadedk2-platforms-919a3a026cdddcdd603d18e2c7dd5c72a340ee8b.tar.xz
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 <brendan.jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15506 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers')
-rw-r--r--ArmPkg/Drivers/CpuDxe/AArch64/ExceptionSupport.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/ArmPkg/Drivers/CpuDxe/AArch64/ExceptionSupport.S b/ArmPkg/Drivers/CpuDxe/AArch64/ExceptionSupport.S
index 8e2b37640f..7a25f1bf35 100644
--- a/ArmPkg/Drivers/CpuDxe/AArch64/ExceptionSupport.S
+++ b/ArmPkg/Drivers/CpuDxe/AArch64/ExceptionSupport.S
@@ -95,11 +95,11 @@
UINT64 Padding;0x328 // Required for stack alignment
*/
-ASM_GLOBAL ASM_PFX(ExceptionHandlersStart)
-ASM_GLOBAL ASM_PFX(ExceptionHandlersEnd)
-ASM_GLOBAL ASM_PFX(CommonExceptionEntry)
-ASM_GLOBAL ASM_PFX(AsmCommonExceptionEntry)
-ASM_GLOBAL ASM_PFX(CommonCExceptionHandler)
+GCC_ASM_EXPORT(ExceptionHandlersStart)
+GCC_ASM_EXPORT(ExceptionHandlersEnd)
+GCC_ASM_EXPORT(CommonExceptionEntry)
+GCC_ASM_EXPORT(AsmCommonExceptionEntry)
+GCC_ASM_EXPORT(CommonCExceptionHandler)
.text
.align 11