* config/tc-mips.c (macro): Don't use uninitialized tempreg.

This commit is contained in:
Thiemo Seufer 2003-05-22 09:15:12 +00:00
parent ceb410091e
commit dc9461f6ad
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (macro): Don't use uninitialized tempreg.
2003-05-22 Nick Clifton <nickc@redhat.com>
* config/tc-xstormy16.c (md_pcrel_from_section): Do not produce

View File

@ -5834,11 +5834,11 @@ macro (ip)
offset_expr.X_add_symbol, 0, NULL);
macro_build (p, &icnt, &offset_expr,
HAVE_32BIT_ADDRESSES ? "lw" : "ld", "t,o(b)",
tempreg, (int) BFD_RELOC_MIPS_GOT_PAGE,
PIC_CALL_REG, (int) BFD_RELOC_MIPS_GOT_PAGE,
mips_gp_register);
macro_build (p + 4, &icnt, &offset_expr,
HAVE_32BIT_ADDRESSES ? "addi" : "daddiu",
"t,r,j", tempreg, tempreg,
"t,r,j", PIC_CALL_REG, PIC_CALL_REG,
(int) BFD_RELOC_MIPS_GOT_OFST);
}