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


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.

The only exception I can think of are GOT entries for general dynamic
and local dynamic TLS, neither of which should be used in an embedded
executable.

-- 
Alan Modra
Australia Development Lab, IBM


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