]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: Handle .gnu.hash section in ldscripts
authorAndreas Färber <afaerber@suse.de>
Mon, 27 Jan 2014 04:48:11 +0000 (05:48 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 7 Apr 2014 09:12:18 +0000 (11:12 +0200)
Avoids "could not find output section .gnu.hash" ld.bfd errors on openSUSE.

Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/u-boot.lds
board/ti/am335x/u-boot.lds

index 87c2de22f5a795a2f69527f8b66def875a6405de..33c1f99fc09c9b03ea57006b8483f3f918776004 100644 (file)
@@ -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.*) }
index ceb20226ff89f9a1ce23ce2d08d8ca29f9baee28..a9e3d34df9681a24ff5d296e6e58c3eac31cd4d1 100644 (file)
@@ -118,6 +118,7 @@ SECTIONS
        .dynstr : { *(.dynstr*) }
        .dynamic : { *(.dynamic*) }
        .hash : { *(.hash*) }
+       .gnu.hash : { *(.gnu.hash) }
        .plt : { *(.plt*) }
        .interp : { *(.interp*) }
        .gnu : { *(.gnu*) }