This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] R_390_RELATIVE bug fix for s390*.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 20 Nov 2003 09:04:42 +1030
- Subject: Re: [PATCH] R_390_RELATIVE bug fix for s390*.
- References: <OF98F551BD.6D056B9F-ONC1256DE3.00548C26-C1256DE3.0056B4FC@de.ibm.com>
On Wed, Nov 19, 2003 at 04:47:04PM +0100, Martin Schwidefsky wrote:
> Hmm, something like this then:
[snip]
Yes, looks good.
> The strange thing is that the "outrel.r_addend -= osec->vma" doesn't
> seem to make a difference. In my little tests I always get the same
> result with and without the line. Probably the test is too simple.
Symbol in .text, and shared lib linked at 0? That would make osec->vma
zero.
--
Alan Modra
IBM OzLabs - Linux Technology Centre