[Patch] sh64: Fix another plt problem
Hans-Peter Nilsson
hp@bitrange.com
Wed Oct 9 21:26:00 GMT 2002
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
More information about the Binutils
mailing list