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 <savou...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to