This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: powerpc new PLT and GOT
On Thu, May 12, 2005 at 03:38:14PM +0930, Alan Modra wrote:
> Not if the plt call stubs are modified to copy their got pointer to,
> say, r12. Or better, if PLTresolve loads its own got pointer, like
> this:
Or better, ensure that r0 (or r12 if r0 can't be used in the appropriate
addressing modes) still contains a copy of ctr, which means that it
contains a copy of PLTresolve. Then use pc-relative references to your
got entries instead of got-relative.
r~