From: Andreas Färber Date: Mon, 27 Jan 2014 04:48:11 +0000 (+0100) Subject: arm: Handle .gnu.hash section in ldscripts X-Git-Tag: v2014.04~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c67e0e7cfa750b006725d3a42f42d3926979b90;p=oweals%2Fu-boot.git arm: Handle .gnu.hash section in ldscripts 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 Acked-by: Simon Glass Tested-by: Simon Glass --- diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds index 87c2de22f5..33c1f99fc0 100644 --- a/arch/arm/cpu/u-boot.lds +++ b/arch/arm/cpu/u-boot.lds @@ -102,6 +102,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 ceb20226ff..a9e3d34df9 100644 --- a/board/ti/am335x/u-boot.lds +++ b/board/ti/am335x/u-boot.lds @@ -118,6 +118,7 @@ SECTIONS .dynstr : { *(.dynstr*) } .dynamic : { *(.dynamic*) } .hash : { *(.hash*) } + .gnu.hash : { *(.gnu.hash) } .plt : { *(.plt*) } .interp : { *(.interp*) } .gnu : { *(.gnu*) }