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]
Other format: [Raw text]

Re: [mips patch rfc/rfa] get rid of coff embedded-pic support.


cgd@broadcom.com wrote:
> At Sat, 24 Apr 2004 02:03:24 +0200, Thiemo Seufer wrote:
> > > Especially since some of
> > > the bits in the assembler are fairly ... twisty.  Once it's all done,
> > > the COFF MIPS_R_PCREL16 reloc and the corresponding ELF one should
> > > probably go away as well.)
> > 
> > I'd like to retain the ELF MIPS_R_PCREL16, and implement external
> > branches with it again.
> 
> Err, well, in ELF it's R_MIPS_GNU_REL16_S2.

Actually, I meant R_MIPS_PC16 aka BFD_RELOC_16_PCREL, which will
coincidentially have similiar properties than R_MIPS_GNU_REL16_S2
aka BFD_RELOC_16_PCREL_S2, and which I expect to handle most
things in gas in a similiar way.

> Personally, I'd prefer we not go down the road of keeping this
> extension alive.  However, since you've expressed interest in doing so
> (at least for ELF):

No, I just want to avoid overcareful code removal in this area
when ELF external branches support would still need half of it.

> Does that mean that you'd like me to resurrect the support for
> relaxing MIPS_R_PCREL16 at link time in ECOFF?
> 
> (I hope not.  i originally GC'd it.  then i thought twice about that
> part, and put it back in.  then i went and removed it again.  8-)

Stay with the removal. :-)


Thiemo


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