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 | ba6c545c2763afa2675372121b2ca452be744a54 (patch) | |
tree | 698320430e95faa7c49de6cfa6dbd10931b1de59 /gas | |
parent | b63b52070f972f440624c5099af086043243c877 (diff) | |
download | binutils-redhat-ba6c545c2763afa2675372121b2ca452be744a54.tar.gz |
* config/tc-mips.c (macro): Don't use uninitialized tempreg.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index af0b049000..32ec9eef8a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index fde268463c..60afb5c47e 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); } |