[U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

Simon Glass
2014-03-25T02:08:57Z

On 26 January 2014 20:48, Andreas F?rber <afaerber@suse.de> wrote:
> 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 on snow

Tested-by: Simon Glass <sjg@chromium.org>

before:

$ crosfw -b daisy
Configuring for smdk5250 board...
/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ld.bfd.real:
u-boot: could not find output section .gnu.hash
/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ld.bfd.real:
final link failed: Nonrepresentable section on output
make[1]: *** [u-boot] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-make] Error 2

after:

no error

Regards,
Simon