* config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'

as a base register specifier.
This commit is contained in:
Maciej W. Rozycki 2010-12-09 23:19:22 +00:00
parent 33f7867de8
commit f9bbfb18be
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;