RFA: Revert recent s_cprestore patch

Richard Sandiford rsandifo@redhat.com
Wed Jun 18 09:02:00 GMT 2003


Thiemo, what was the motivation for this patch?

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?

Richard



More information about the Binutils mailing list