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: Reloc question


On Thu, 25 Jan 2001, Richard Sandiford wrote:

> Is it better to have a reloc refer to the operand that needs fixing up, or
> to the instruction that contains it?

Why would you want a reloc referring anywhere other than the word(s) that
need relocating?  Seems counter-intuitive to me, especially on variable
instruction size cpus like x86.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.



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