RFA: Revert recent s_cprestore patch

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu Jun 19 16:45:00 GMT 2003


Richard Sandiford wrote:
> 
> Thiemo, what was the motivation for this patch?

A dumb thinko. :-)

> 2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
> 
> 	* config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
> 	(s_cprestore): Likewise.
> 	(s_cpreturn): Likewise.
> 
> It introduces an incompatibility with previous binutils releases, and with
> the SGI assemblers, both of which use $sp rather than the frame pointer
> for these macros.  And the change to .cprestore breaks mips-linux-gnu-gcc,
> which uses .cprestore before the frame pointer has been set up.
> 
> Is it OK to revert the patch?

I did so. Thanks for spotting this.


Thiemo



More information about the Binutils mailing list