This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Reloc question
- To: Richard Sandiford <rsandifo at cygnus dot com>
- Subject: Re: Reloc question
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 26 Jan 2001 00:48:23 +1100 (EST)
- cc: binutils at sources dot redhat dot com
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.