From: Maciej W. Rozycki Date: Thu, 9 Dec 2010 23:19:22 +0000 (+0000) Subject: * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-' X-Git-Tag: cgen-snapshot-20110101~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9bbfb18bec91f344bcc74343ad77c8a0e49ed4e;p=thirdparty%2Fbinutils-gdb.git * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-' as a base register specifier. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 51f6430ac5d..4e4da254318 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-12-09 Maciej W. Rozycki + + * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-' + as a base register specifier. + 2010-12-09 Maciej W. Rozycki * config/tc-mips.c (macro) : Fix the placement of code. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index d07553bf6cb..05d4959ab0c 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;