Commit 2c67e0e7cfa750b006725d3a42f42d3926979b90

Authored by Andreas Färber
Committed by Albert ARIBAUD
1 parent ddfeb0aaf4

arm: Handle .gnu.hash section in ldscripts

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>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

arch/arm/cpu/u-boot.lds
... ... @@ -102,6 +102,7 @@
102 102 .dynamic : { *(.dynamic*) }
103 103 .plt : { *(.plt*) }
104 104 .interp : { *(.interp*) }
  105 + .gnu.hash : { *(.gnu.hash) }
105 106 .gnu : { *(.gnu*) }
106 107 .ARM.exidx : { *(.ARM.exidx*) }
107 108 .gnu.linkonce.armexidx : { *(.gnu.linkonce.armexidx.*) }
board/ti/am335x/u-boot.lds
... ... @@ -118,6 +118,7 @@
118 118 .dynstr : { *(.dynstr*) }
119 119 .dynamic : { *(.dynamic*) }
120 120 .hash : { *(.hash*) }
  121 + .gnu.hash : { *(.gnu.hash) }
121 122 .plt : { *(.plt*) }
122 123 .interp : { *(.interp*) }
123 124 .gnu : { *(.gnu*) }