This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [Patch] sh64: Fix another plt problem


On Wed, 9 Oct 2002, Clarke, Stephen wrote:
> The attached file contains a patch for the fixup code
> in an SHmedia pic plt entry - it turns out we'd never
> exercised the lazy jump slot fixup because of the
> problem with gotplt relocations I posted a fix for a
> couple of weeks ago.
>
> I hope the fix is obvious: to derive the address of
> .got from r12 you need to subtract the GOT_BIAS
> from r12 (or as the code does it, add -GOT_BIAS to r12).

Looks obvious to me too, thanks.

brgds, H-P


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