[U-Boot-Users] fixed: Re: [PATCH] Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections

Clemens Koller
2007-12-12T11:32:41Z

[CCed to current thread at binutils list: Re: binutils-2.18 and U-Boot]

Clemens Koller schrieb:
> brino schrieb:
> > Hi All,
> >
> > This fix doesn't work with binutils-2.18. I'm building u-boot for the amcc
> > yosemite board using cygwin and cross binutils-2.18/gcc-4.2.2 for a
> > powerpc-eabi target.
>
> Yes, binutils-2.18 have this broken. binutils-2.17 work fine.

In the latest binutils-snapshot (at least):

$ ld -v
GNU ld (GNU Binutils) 2.18.50.20071212

this problem was fixed by:
http://sourceware.org/ml/binutils/2007-11/msg00235.html

U-Boot
commit 41be969f4957115ed7b1fe8b890bfaee99d7a7a2
Author: Wolfgang Denk <wd@denx.de>
Date: Thu Dec 6 10:21:19 2007 +0100
Release v1.3.1
compiled a $ make TQM8540_config target with gcc-4.2.2 within
an native mpc8540 environment.

I cannot run-test now, but I will close binutils bug 5205 now:
http://www.sourceware.org/bugzilla/show_bug.cgi?id=5205

Thanks for the detailed report to Brian and for the fix to Nathan. :-)

Regards,
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Stra?e 45/1
Linhof Werksgel?nde
D-81379 M?nchen
Tel.089-741518-50
Fax 089-741518-19