[U-Boot] [PATCH] tools: imagetool: Remove "INSERT BEFORE" from linker script

Guilherme Ferreira guilherme.maciel.ferreira at gmail.com
Mon Feb 16 18:47:12 CET 2015


Hi Tom,

Confirmed, Andreas sent the patch and I've tested both versions. The tools
still works on Ubuntu host.

Kind regards,

2015-02-16 15:12 GMT-02:00 Tom Rini <trini at ti.com>:

> On Mon, Feb 16, 2015 at 11:55:09AM -0500, Tom Rini wrote:
> > On Mon, Feb 16, 2015 at 03:05:45PM +0100, Lukasz Majewski wrote:
> >
> > > Not all linkers are able to parse "INSERT BEFORE" part of the linker
> script.
> > > For example following (rather new) "gold" one:
> > >
> > > GNU gold (GNU Binutils for Debian 2.22) 1.11
> > >
> > > produces following error:
> > >   HOSTLD  tools/mkenvimage
> > > /usr/bin/ld: error: ./tools/imagetool.lds:23:8: syntax error,
> unexpected STRING
> > > /usr/bin/ld: fatal error: unable to parse script file
> ./tools/imagetool.lds
> > > collect2: error: ld returned 1 exit status
> > > make[1]: *** [tools/mkenvimage] Error 1
> > > make: *** [tools] Error 2
> > >
> > > The problem has already been reported, but no evident solution has been
> > > proposed:
> > > https://bugzilla.redhat.com/show_bug.cgi?id=927573#c5
> > >
> > > Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> >
> > Guilherme, can you please confirm that things still work as expected for
> > you with this patch applied?  Thanks!
>
> On second thought I'm going to go with the patch that just drops the
> linker script and I see you tested that one as well, thanks!
>
> --
> Tom
>


More information about the U-Boot mailing list