This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] MIPS/ELF: %call_r/%got_r operators for relocation override
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>, binutils at sources dot redhat dot com
- Date: Fri, 12 Sep 2003 14:30:45 +0200
- Subject: Re: [patch] MIPS/ELF: %call_r/%got_r operators for relocation override
- References: <wvnekz57u7q.fsf@talisman.cambridge.redhat.com> <Pine.GSO.3.96.1030828223702.484a-100000@delta.ds2.pg.gda.pl> <20030830034452.GJ27332@rembrandt.csv.ica.uni-stuttgart.de> <wvnn0dr64tb.fsf@talisman.cambridge.redhat.com>
Richard Sandiford wrote:
> Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
> > - The assumption about 'la $25' being a CALL is always ok for SVR4_PIC,
> > $25 is reserved for only this purpose.
>
> I don't think that's right. $25's special meaning only applies at
> function entry. Other than that, it's a general temporary register
> that you can use for anything.
You are right, I forgot $25 is special cased WRT.
Maciej, I think your patch is ok.
Thiemo