gcc rodata regression

Simon Glass sjg@chromium.org
Tue Feb 3 14:13:00 GMT 2015


Hi Segher,

On 2 February 2015 at 01:16, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> On Sat, Jan 31, 2015 at 05:09:29PM -0700, Simon Glass wrote:
>> I have been fighting with a strange problem on ARM where gcc puts all
>> the .rodata from a number of files lumped into a single .rodata
>> section even when -fdata-sections is used.
>>
>> I searched and found a bug report here:
>>
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54303
>>
>> which exactly describes the problem I see.
>
> You could try this patch.  I think there were still some problems with
> it, there must have been some reason I didn't submit it.  Cannot have
> been just laziness :-P

Thanks, I will give it a try and let you know what I find.

[snip]

Regards,
Simon



More information about the Gcc mailing list