Hi Alexandre, On Thu, Aug 09, 2018 at 03:23:12AM -0300, Alexandre Oliva wrote: > On Aug 8, 2018, Segher Boessenkool <seg...@kernel.crashing.org> wrote: > > > Then you get sdata2 used (via srodata in generic code), and it is accessed > > via GPR2 (via the sda21 reloc and linker magic). It is hard to trace down > > :-) > > Aah, it didn't occur to me that the r2 uses could be introduced by the > linker. I was cutting corners and looking at the asm output, after > building only gcc, without binutils. Thanks for the explanation. Mind > if I add a comment about that next to... hmm... how about the > SMALL_DATA_* macros?
This is fine, please commit to trunk. Thanks! Segher