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

Trent Piepho
2009-01-31T11:02:58Z

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 at 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.