[U-Boot] [PATCH] Fix Freescale link scripts for newer GCCs

Trent Piepho xyzzy at speakeasy.org
Sat Jan 31 12:02:58 CET 2009


On Wed, 21 Jan 2009, Kim Phillips wrote:
> On Wed, 7 Jan 2009 18:29:54 -0500
>> This addresses the problem described here:
>>
>> http://lists.denx.de/pipermail/u-boot/2008-December/045029.html
>>
>> This changes the link scripts of several of the mpcXXX CPUs to include
>> everything from '.rodata'.  Without this, using a recent
>> powerpc-linux-gnu toolchain (e.g. from CodeSourcery) to build U-Boot
>> fails, often producing a multi-GB binary file.

See my patch as to why ".rodata*" is non-optimal.

> so, what's the status of this patch?  I've seen this fail on 83xx.
> Most of these types of patches that fix the newer gcc's behaviour have
> been dropped, one of which even did sorting on name and alignment:
>
> http://www.mail-archive.com/u-boot@lists.denx.de/msg03193.html
>
> Do I need to make one for 83xx and apply it myself?

Wolfgang rejected mine because he wanted a patch that fixed every single
board in one shot.  I didn't feel like patching a hundred other linker
scripts I knew nothing about.


More information about the U-Boot mailing list