[PATCH] R_390_RELATIVE bug fix for s390*.

Alan Modra amodra@bigpond.net.au
Mon Nov 17 12:12:00 GMT 2003


On Mon, Nov 17, 2003 at 12:54:36PM +0100, Martin Schwidefsky wrote:
> Oh well, it seemed to be a nice idea to rewrite the relocations against
> local symbols to relocations against to section start. I'll change the
> code to emit the original relocation in this case.

No, it is quite OK to use relocations against section symbols.  What I
was trying to point out is that you should subtract the symbol value
from the reloc addend.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list