mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
The current error message for bad imm4 operands wasn't really helpful,
and was pointing at the wrong operand in Intel mode. Since non-constant operands are being taken care of by other means anyway, adjust it to simply state that the constant doesn't fit. 2012-07-31 Jan Beulich <jbeulich@suse.com> * config/tc-i386.c (match_template): Adjust error message for 'bad_imm4' case.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2012-07-31 Jan Beulich <jbeulich@suse.com>
|
||||
|
||||
* config/tc-i386.c (match_template): Adjust error message
|
||||
for 'bad_imm4' case.
|
||||
|
||||
2012-07-31 Jan Beulich <jbeulich@suse.com>
|
||||
|
||||
* config/tc-i386.c (check_byte_reg): Check for I/O port
|
||||
|
@ -4347,7 +4347,7 @@ check_reverse:
|
||||
err_msg = _("invalid instruction suffix");
|
||||
break;
|
||||
case bad_imm4:
|
||||
err_msg = _("Imm4 isn't the first operand");
|
||||
err_msg = _("constant doesn't fit in 4 bits");
|
||||
break;
|
||||
case old_gcc_only:
|
||||
err_msg = _("only supported with old gcc");
|
||||
|
Reference in New Issue
Block a user