[PATCH] MIPS gas: Use PIC_CALL_REG instead of uninitialized tempreg

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu May 15 00:55:00 GMT 2003


Thiemo Seufer wrote:
> Hello All,
> 
> tempreg isn't properly initialized in this case and should AFAICS
> always be PIC_CALL_REG anyway.
> 
> 
> Thiemo
> 
> 
> 2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
> 
> 	/gas/ChangeLog
> 	* config/tc-mips.c (macro): Don't use uninitialized tempreg.

This was tested on mips64-linux and mips-sgi-irix6, both without
new regressions.

I guess it built/passed the testsuite before because the M_JAL_A
case where the code lives in isn't triggered by ususal compiler
generated code.


Thiemo



More information about the Binutils mailing list