From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 7 Apr 2014 11:43:21 +0200 Subject: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts In-Reply-To: <1390798091-24747-1-git-send-email-afaerber@suse.de> References: <1390798091-24747-1-git-send-email-afaerber@suse.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andreas, On Mon, 27 Jan 2014 05:48:11 +0100, Andreas F?rber wrote: > Avoids "could not find output section .gnu.hash" ld.bfd errors on openSUSE. > > Cc: Albert Aribaud > Cc: Tom Rini > Signed-off-by: Andreas F?rber > --- > More changes like this may be needed, but these I compile-tested with > v2014.01 (regression from v2013.10). colibri_t20_iris was runtime-tested. > GCC 4.8.2 r206511, binutils 2.24 > > arch/arm/cpu/u-boot.lds | 1 + > board/ti/am335x/u-boot.lds | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds > index 4da5d24..fb8bfaf 100644 > --- a/arch/arm/cpu/u-boot.lds > +++ b/arch/arm/cpu/u-boot.lds > @@ -97,6 +97,7 @@ SECTIONS > .dynamic : { *(.dynamic*) } > .plt : { *(.plt*) } > .interp : { *(.interp*) } > + .gnu.hash : { *(.gnu.hash) } > .gnu : { *(.gnu*) } > .ARM.exidx : { *(.ARM.exidx*) } > .gnu.linkonce.armexidx : { *(.gnu.linkonce.armexidx.*) } > diff --git a/board/ti/am335x/u-boot.lds b/board/ti/am335x/u-boot.lds > index 6a734b3..fec4ccf 100644 > --- a/board/ti/am335x/u-boot.lds > +++ b/board/ti/am335x/u-boot.lds > @@ -113,6 +113,7 @@ SECTIONS > .dynstr : { *(.dynstr*) } > .dynamic : { *(.dynamic*) } > .hash : { *(.hash*) } > + .gnu.hash : { *(.gnu.hash) } > .plt : { *(.plt*) } > .interp : { *(.interp*) } > .gnu : { *(.gnu*) } Applied to u-boot-arm/master, thanks! Amicalement, -- Albert.