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] R_390_RELATIVE bug fix for s390*.


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


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