This is the mail archive of the
mailing list for the GCC project.
Re: PING for PowerPC: Add msingle-pic-base option
Alan Modra <email@example.com> wrote on 2010/11/23 02:32:20:
> On Tue, Nov 23, 2010 at 01:25:41AM +0100, Joakim Tjernlund wrote:
> > It is impossible (as is today) to tell which ptr's in the GOT needs
> > fixup and those which don't.
> This is where we disagree. I think all of .got should be relocated,
> except for the header. If I'm correct, then fixups for .got are
> redundant and therefore just a waste of space.
We do relocate the whole GOT but we still need to do the fixups separately,
just like the rs6000/eabi.asm. Still this is a separate issue that has no
effect on the msingle-base-pic option.