From 815ddb50514b0e325f21fde39f3fac3c1d081af7 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Thu, 19 Jun 2003 16:43:38 +0000 Subject: [PATCH] Revert 2003-06-11 change. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index cff85918754..be20d5053b2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-06-19 Thiemo Seufer + + * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert + 2003-06-11 change. + 2003-06-19 Christian Groessler * config/tc-z8k.c (parse_reg): Invalid registers generate an error diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 18505268962..e1053cb9987 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -12613,7 +12613,7 @@ s_cpsetup (ignore) ex_off.X_add_number = mips_cpreturn_offset; macro_build ((char *) NULL, &icnt, &ex_off, "sd", "t,o(b)", - mips_gp_register, (int) BFD_RELOC_LO16, mips_frame_reg); + mips_gp_register, (int) BFD_RELOC_LO16, SP); } else macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "daddu", @@ -12688,7 +12688,7 @@ s_cprestore (ignore) ex.X_add_number = mips_cprestore_offset; macro_build_ldst_constoffset ((char *) NULL, &icnt, &ex, ADDRESS_STORE_INSN, - mips_gp_register, mips_frame_reg); + mips_gp_register, SP); demand_empty_rest_of_line (); } @@ -12723,7 +12723,7 @@ s_cpreturn (ignore) ex.X_add_number = mips_cpreturn_offset; macro_build ((char *) NULL, &icnt, &ex, "ld", "t,o(b)", - mips_gp_register, (int) BFD_RELOC_LO16, mips_frame_reg); + mips_gp_register, (int) BFD_RELOC_LO16, SP); } else macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "daddu", -- 2.30.2