This is the mail archive of the binutils@sourceware.org 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: MIPS %half in gas


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


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