TLS support for MIPS
Eric Christopher
echristo@redhat.com
Wed Feb 9 00:21:00 GMT 2005
> > We already have separate operators for things like R_MIPS_CALL_HI16 and
> > R_MIPS_CALL_LO16, namely %call_hi() and %call_lo()[*]. I think it'd be
> > simpler and more consistent to have %dtpoff_hi() and %dtpoff_lo()
> > instead. You'd then be able to get rid of hackery like:
>
> I cribbed this approach from PowerPC (@tprel@ha) because it seemed
> eminently sensible. If you'd prefer to use single operators instead,
> then I guess I can crib from a different architecture instead.
>
It is fairly sensible, however, it doesn't really fit like we've been
going. Cribbing from alpha would probably work.
> OK. At this point I think that means renaming the relocations; I just
> renamed the operators more sanely recently. Anyone have a preference
> on the TPREL vs. TPOFF conventions?
>
I prefer rel, but that's possibly just my bias.
-eric
More information about the Binutils
mailing list