[U-Boot] [PATCH 1/3] arm: make .vectors section allocatable

Georges Savoundararadj
2014-09-21T21:33:48Z

Before the commit 41623c91, the exception vector was in a .text
section which is allocatable. After this, the .vectors section was
introduced to contain the exception vector without specifying it as a
.text section but only as a executable section ("x").
This fix marks the section .vectors as allocatable as well ("ax") allowing
symbols to be relocated.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
---
arch/arm/lib/vectors.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S
index 0cb87ce..49238ed 100644
--- a/arch/arm/lib/vectors.S
+++ b/arch/arm/lib/vectors.S
@@ -33,7 +33,7 @@
*************************************************************************
*/

- .section ".vectors", "x"
+ .section ".vectors", "ax"

/*
*************************************************************************
--
2.1.0