[patch] MIPS/gas: GPREL16 relocs against constants

Thiemo Seufer ths@networkno.de
Thu Apr 14 15:11:00 GMT 2005


Maciej W. Rozycki wrote:
> Hello,
> 
>  Due to a recent code rearrangement we now attempt to emit GPREL16 relocs 
> against constants for the "ldd_std" case in macro().  This is of course 
> not going to work, and actually ends up with an assertion failure later.  
> Here's an obvious fix.
> 
> 2005-04-14  Maciej W. Rozycki  <macro@linux-mips.org>
> 
> 	* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP 
> 	optimization for constant addresses.
> 
>  OK to apply?

Ok.


Thiemo



More information about the Binutils mailing list