aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-12-09 23:21:51 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-12-09 23:21:51 +0000
commit34224acf3638b12890af9c51567bfd6647245f9f (patch)
tree4af3f72bdf20399b6ba7363291d4c877287a7412 /gas
parent83e17bd5ed3c2586f558202172bf9f52ac80650c (diff)
downloadgdb-34224acf3638b12890af9c51567bfd6647245f9f.zip
gdb-34224acf3638b12890af9c51567bfd6647245f9f.tar.gz
gdb-34224acf3638b12890af9c51567bfd6647245f9f.tar.bz2
* config/tc-mips.c (mips_ip): Remove lastregno's
preinitialization.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4e4da25..d6d973e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
+ * config/tc-mips.c (mips_ip): Remove lastregno's
+ preinitialization.
+
+2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
+
* config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
as a base register specifier.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 05d4959..b664585 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -8631,7 +8631,7 @@ mips_ip (char *str, struct mips_cl_insn *ip)
struct mips_opcode *insn;
char *argsStart;
unsigned int regno;
- unsigned int lastregno = 0;
+ unsigned int lastregno;
unsigned int lastpos = 0;
unsigned int limlo, limhi;
char *s_reset;