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: [patch] MIPS/ELF: %call_r/%got_r operators for relocation override


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


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