summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHaim Boot <hayim@marvell.com>2017-03-14 12:53:22 +0200
committerHaim Boot <hayim@marvell.com>2017-03-15 10:00:59 +0200
commit7fefa7703bb1403cfa8cb5f0513bcdead9774c00 (patch)
tree0ede388dae80d1af6665cf8d35bf0f5e94a5b41c /include
parent6bb37adc203567c2f9322dfbe34058a5f12d4c70 (diff)
Revert "Fill exception vectors with zero bytes"
This reverts commit 79627dc37259781e578c47e1e63856dd0424b2a2. It is required to allow build of ATF with MGCC and Yocto toolchain. Change-Id: I7bfcf46e977c05cc988d93a2d1a22a9d0cc512d3 Reviewed-on: http://vgitil04.il.marvell.com:8080/37435 Reviewed-by: Hua Jing <jinghua@marvell.com> Reviewed-by: Haim Boot <hayim@marvell.com> Tested-by: Haim Boot <hayim@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/common/aarch64/asm_macros.S10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/common/aarch64/asm_macros.S b/include/common/aarch64/asm_macros.S
index cc8f4243..737cd366 100644
--- a/include/common/aarch64/asm_macros.S
+++ b/include/common/aarch64/asm_macros.S
@@ -70,26 +70,20 @@
/*
* Declare the exception vector table, enforcing it is aligned on a
* 2KB boundary, as required by the ARMv8 architecture.
- * Use zero bytes as the fill value to be stored in the padding bytes
- * so that it inserts illegal AArch64 instructions. This increases
- * security, robustness and potentially facilitates debugging.
*/
.macro vector_base label
.section .vectors, "ax"
- .align 11, 0
+ .align 11
\label:
.endm
/*
* Create an entry in the exception vector table, enforcing it is
* aligned on a 128-byte boundary, as required by the ARMv8 architecture.
- * Use zero bytes as the fill value to be stored in the padding bytes
- * so that it inserts illegal AArch64 instructions. This increases
- * security, robustness and potentially facilitates debugging.
*/
.macro vector_entry label
.section .vectors, "ax"
- .align 7, 0
+ .align 7
\label:
.endm