Fix typo checking MMIX operands.
PR gas/18677 * config/tc-mmix.c (md_assemble): Fix typo checking operands with a numeric constant value.
This commit is contained in:
parent
88fd0449a3
commit
d29b2a1ece
@ -1,5 +1,9 @@
|
||||
2015-08-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/18677
|
||||
* config/tc-mmix.c (md_assemble): Fix typo checking operands with
|
||||
a numeric constant value.
|
||||
|
||||
PR gas/18678
|
||||
* config/tc-tic4x.c (tic4x_insn_check): Fix typo.
|
||||
|
||||
|
@ -1475,8 +1475,8 @@ md_assemble (char *str)
|
||||
&& ((exp[1].X_op == O_register
|
||||
&& exp[1].X_add_number < 512)
|
||||
|| (exp[1].X_op == O_constant
|
||||
&& exp[1].X_add_number < 0
|
||||
&& exp[1].X_add_number > 4)
|
||||
&& (exp[1].X_add_number < 0
|
||||
|| exp[1].X_add_number > 4))
|
||||
|| (exp[1].X_op != O_register
|
||||
&& exp[1].X_op != O_constant))))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user