MIPS %half in gas
Maciej W. Rozycki
macro@linux-mips.org
Fri Oct 12 16:11:00 GMT 2007
On Fri, 12 Oct 2007, Daniel Jacobowitz wrote:
> A message from so long ago that almost none of the addresses are still
> valid... CC's trimmed :-)
Hmm, I find it nice to discover yet another MIPS relocation type/operator
I was not aware of. ;-) I can hardly see a use for this operator and I
have no idea as to where it is coming from, but your change looks
reasonable to me.
Though the test case may be confusing -- given the relocation operates on
an unsigned value, the use of "lw" in the test case is misleading. I
think "ori", "andi" or "xori" would be better. Although of these only
"ori" looks remotely useful and I am not sure if using this relocation on
code rather than data (".hword %half(foo)") makes sense at all.
Maciej
More information about the Binutils
mailing list