From 7fefa7703bb1403cfa8cb5f0513bcdead9774c00 Mon Sep 17 00:00:00 2001 From: Haim Boot Date: Tue, 14 Mar 2017 12:53:22 +0200 Subject: 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 Reviewed-by: Haim Boot Tested-by: Haim Boot --- include/common/aarch64/asm_macros.S | 10 ++-------- 1 file 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 -- cgit