From: Georges Savoundararadj Date: Sun, 21 Sep 2014 23:33:48 +0200 Subject: [U-Boot] [PATCH 1/3] arm: make .vectors section allocatable In-Reply-To: <1411335230-26907-1-git-send-email-savoundg@gmail.com> References: <1411335230-26907-1-git-send-email-savoundg@gmail.com> Message-ID: <1411335230-26907-2-git-send-email-savoundg@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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