Re: [RS6000] Make -msingle-pic-base remove the ELFv2 global entry code

2015-09-30 Thread David Edelsohn
On Wed, Sep 30, 2015 at 2:11 AM, Alan Modra wrote: > For other ABIs, -msingle-pic-base makes gcc omit loading of the PIC > register in function prologues. This patch makes the option affect > ELFv2 too. > > I wrote a patch like this during the initial ELFv2 effort, but there > were many more impo

[RS6000] Make -msingle-pic-base remove the ELFv2 global entry code

2015-09-29 Thread Alan Modra
For other ABIs, -msingle-pic-base makes gcc omit loading of the PIC register in function prologues. This patch makes the option affect ELFv2 too. I wrote a patch like this during the initial ELFv2 effort, but there were many more important patches to push and this one somehow got dropped. Dusted