This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: TLS support for MIPS
> > 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