mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
* config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
(s_cprestore): Likewise. (s_cpreturn): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user