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]

Re: Writing addend into instructions


On 13 Mar 2001, Torbjorn Granlund wrote:

> But for ELF, writing the addends into, say, a 16-bit instruction field
> seems like a strange thing to do.  Most ELF ABIs require that such
> addends are ignored anyway.

One (rather poor) reason why you might want to write the addend into
the insn is to make disassembly of object files "look right".  It would be
better to teach the disassembler how to apply the relocation.

Alan
-- 
Linuxcare


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