This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING for PowerPC: Add msingle-pic-base option


Alan Modra <amodra@gmail.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.

Jocke


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]