* config/tc-mips.c (macro): Don't use uninitialized tempreg.
authorThiemo Seufer <ths@networkno.de>
Thu, 22 May 2003 09:15:12 +0000 (09:15 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 22 May 2003 09:15:12 +0000 (09:15 +0000)
gas/ChangeLog
gas/config/tc-mips.c

index af0b04900073bbef815d283896d2289f15c064bd..32ec9eef8a0877799ca480d504f0ca8a55c39191 100644 (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
index fde268463c77ae2d5f8367152d52e6dae9e92190..60afb5c47ed9170fcc4288d32d0d67693518fefa 100644 (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);
                }