diff options
author | Thiemo Seufer <ths@networkno.de> | 2003-05-22 09:15:12 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2003-05-22 09:15:12 +0000 |
commit | dc9461f6ad3f7135e6ee914e25131f1281901e09 (patch) | |
tree | f9ee12b274dd693eda19d4b05dd1cdd72d418b78 /gas/config/tc-mips.c | |
parent | ceb410091e5f0cceca4c70d553b9c3ff49aea929 (diff) | |
download | gdb-dc9461f6ad3f7135e6ee914e25131f1281901e09.zip gdb-dc9461f6ad3f7135e6ee914e25131f1281901e09.tar.gz gdb-dc9461f6ad3f7135e6ee914e25131f1281901e09.tar.bz2 |
* config/tc-mips.c (macro): Don't use uninitialized tempreg.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index fde2684..60afb5c 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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); } |