aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2003-06-11 20:59:09 +0000
committerThiemo Seufer <ths@networkno.de>2003-06-11 20:59:09 +0000
commit8c1a34cd5ca4c1baf70c843765ef99eaff1db3ef (patch)
treeab0b84775257e7c3b70fc3bd680c14239922cb16 /gas
parent4b0cff4e3667cb9d1e19a89863780ac02e875ecc (diff)
downloadgdb-8c1a34cd5ca4c1baf70c843765ef99eaff1db3ef.zip
gdb-8c1a34cd5ca4c1baf70c843765ef99eaff1db3ef.tar.gz
gdb-8c1a34cd5ca4c1baf70c843765ef99eaff1db3ef.tar.bz2
* config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
(s_cprestore): Likewise. (s_cpreturn): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-mips.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 555d256..38430a3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
* config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
with zeros.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 91903d9..5d58d40 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -12745,7 +12745,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, SP);
+ mips_gp_register, (int) BFD_RELOC_LO16, mips_frame_reg);
}
else
macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "daddu",
@@ -12822,7 +12822,7 @@ s_cprestore (ignore)
macro_build_ldst_constoffset ((char *) NULL, &icnt, &ex,
HAVE_32BIT_ADDRESSES ? "sw" : "sd",
- mips_gp_register, SP);
+ mips_gp_register, mips_frame_reg);
demand_empty_rest_of_line ();
}
@@ -12857,7 +12857,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, SP);
+ mips_gp_register, (int) BFD_RELOC_LO16, mips_frame_reg);
}
else
macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "daddu",