aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-12-09 23:19:22 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-12-09 23:19:22 +0000
commitf9bbfb18bec91f344bcc74343ad77c8a0e49ed4e (patch)
tree1f4cdbc1c12dfd9088ea38c9d37311c1d2856157
parent33f7867de87cb91da2061af76b84de506a2da4d1 (diff)
downloadfsf-binutils-gdb-f9bbfb18bec91f344bcc74343ad77c8a0e49ed4e.zip
fsf-binutils-gdb-f9bbfb18bec91f344bcc74343ad77c8a0e49ed4e.tar.gz
fsf-binutils-gdb-f9bbfb18bec91f344bcc74343ad77c8a0e49ed4e.tar.bz2
* config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
as a base register specifier.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 51f6430..4e4da25 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) <'('>: Don't let '4', '5' or '-'
+ as a base register specifier.
+
+2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
+
* config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index d07553b..05d4959 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -8991,8 +8991,7 @@ mips_ip (char *str, struct mips_cl_insn *ip)
we must have a left paren. */
/* This is dependent on the next operand specifier
is a base register specification. */
- gas_assert (args[1] == 'b' || args[1] == '5'
- || args[1] == '-' || args[1] == '4');
+ gas_assert (args[1] == 'b');
if (*s == '\0')
return;