This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Patch] sh64: Fix another plt problem
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: "Clarke, Stephen" <stephen dot clarke at superh dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 10 Oct 2002 00:26:37 -0400 (EDT)
- Subject: 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