[U-Boot] [PATCH 3/4] Improve mpc85xx link script rodata section

Trent Piepho tpiepho at freescale.com
Fri Oct 17 05:30:09 CEST 2008


On Tue, 14 Oct 2008, Wolfgang Denk wrote:
> In message <Pine.LNX.4.64.0810141354110.3705 at t2.domain.actdsltmp> you wrote:
>>
>>> This affects *all* boards and should  therefore  be  implemented  for
>>> *all* boards, not only for 85xx.
>>
>> The other board's linker scripts are somewhat different.  Maybe someone who
>> maintains them and knows them better should do it to make sure it's correct.
>
> I would like to see this in one commit, though, or a small series of
> connectred commits.
>
>> In fact, there's already patches that do this for other boards out there.
>
> Are there? I'm not aware of this. Do you have a link for me?

I've seen them posted internally at Freescale for a couple months now.  Some
BSPs are using them.  I don't think anyone, besides me, has tried to get any
rodata fixes committed upstream.  Maybe the thought of fixing 500 other boards
they know nothing about is scaring them away?  Some links:

http://www.bitshrine.org/gpp/u-boot-1.1.3-mpc832x-rodata-str-1.patch
http://www.bitshrine.org/gpp/u-boot-1.1.3-mpc8349itx-rodata-str-1.patch
http://www.bitshrine.org/gpp/u-boot-1.3.2-mpc8272ads-rodata-str-1.patch

IMHO, the way I've done it is better.


More information about the U-Boot mailing list