summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S')
-rw-r--r--ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S b/ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S
index 5dc6899773..714ead608f 100644
--- a/ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S
+++ b/ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S
@@ -109,12 +109,7 @@ GCC_ASM_EXPORT(CommonCExceptionHandler)
// exception vector initialization method is used.
//
-#if defined(ARM_RELOCATE_VECTORS)
-GCC_ASM_EXPORT(ExceptionHandlersStart)
-ASM_PFX(ExceptionHandlersStart):
-#else
VECTOR_BASE(ExceptionHandlersStart)
-#endif
.macro ExceptionEntry, val, sp=SPx
//
@@ -168,13 +163,7 @@ VECTOR_BASE(ExceptionHandlersStart)
mov x0, #\val
// Jump to our general handler to deal with all the common parts and process the exception.
-#if defined(ARM_RELOCATE_VECTORS)
- ldr x1, =ASM_PFX(CommonExceptionEntry)
- br x1
- .ltorg
-#else
b ASM_PFX(CommonExceptionEntry)
-#endif
.endm
//