diff options
author | Mark Rutland <mark.rutland@arm.com> | 2015-11-17 13:58:19 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-11-17 13:58:19 +0000 |
commit | 386cdfbecbbacb600ffc8e2ffa8c7af1b3855a61 (patch) | |
tree | e45615afccc2818df9543be86ed1e05f1617e6fb /ArmPkg/Library/DebugAgentSymbolsBaseLib | |
parent | 51b655a8a05a622d83ceec91c59f0bf631e65f4b (diff) | |
download | edk2-platforms-386cdfbecbbacb600ffc8e2ffa8c7af1b3855a61.tar.xz |
ArmPkg: ensure DebugAgentVectorTable is 2K-aligned
We force alignment to 2K after generating the DebugAgentVectorTable
symbol, and hence DebugAgentVectorTable itself may not be 2K-aligned,
and table entries may not be at the correct offset from the
DebugAgentVectorTable base address.
Fix this by forcing alignment before generating the
DebugAgentVectorTable symbol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18865 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/DebugAgentSymbolsBaseLib')
-rw-r--r-- | ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S b/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S index 022e2796c5..3fc090b2c3 100644 --- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S +++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S @@ -16,12 +16,12 @@ GCC_ASM_EXPORT(DebugAgentVectorTable) GCC_ASM_IMPORT(DefaultExceptionHandler)
.text
+.align 11
ASM_PFX(DebugAgentVectorTable):
//
// Current EL with SP0 : 0x0 - 0x180
//
-.align 11
ASM_PFX(SynchronousExceptionSP0):
b ASM_PFX(SynchronousExceptionSP0)
|