This is the mail archive of the binutils@sourceware.cygnus.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: Possible problem with gas on MIPS


> I would suspect that the shift for R_MIPS_PC16 has not been documented in 
> the ABI or elsewhere and has just been missed out.

Yes, you're actually right.  It has been missed out.  We do shift the offsets
right by 2 when we link objects including R_MIPS_PC16 with gld.  This is 
however nothing we want to generate with gas.  IRIX as is actually reluctant
to assemble branches to symbols as well.  I think IRIX ld pukes on R_MIPS_PC16
whenever it gets the chance.

Ulf


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