gcc rodata regression

2015-01-31 Thread Simon Glass
Hi, 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

Re: gcc rodata regression

2015-02-01 Thread Simon Glass
Hi Andreas, On 1 February 2015 at 01:55, Andreas Schwab wrote: > Simon Glass writes: > >> According to the bug report this does not happen on x86_64, > > That is not true, see comment #6. OK, so it is a widespread problem then. Do you have any hints on how I could begin to

Re: gcc rodata regression

2015-02-03 Thread Simon Glass
Hi Segher, On 2 February 2015 at 01:16, Segher Boessenkool 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 >> sec

Fwd: Re: gcc rodata regression

2015-02-09 Thread Simon Glass
Hi Segher, On 2 February 2015 at 01:16, Segher Boessenkool 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 >> sec