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

Trent Piepho tpiepho at freescale.com
Tue Oct 14 23:00:28 CEST 2008


On Tue, 14 Oct 2008, Wolfgang Denk wrote:
> Dear Trent Piepho,
>
> In message <1223941151-13969-3-git-send-email-tpiepho at freescale.com> you wrote:
>> A recent gcc added a new unaligned rodata section called '.rodata.str1.1'
>> and that needs to be added the the linker script.
>>
>> Rather than just add that one section, instead use '*(.rodata*)' to catch
>> that section and any future rodata sections.
>
> 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.

In fact, there's already patches that do this for other boards out there.


More information about the U-Boot mailing list