2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
PR gas/6518 * config/tc-i386.c (match_template): Report ambiguous operand size, not invalid suffix when there is no match in Intel syntax.
This commit is contained in:
parent
da5938a216
commit
95f283e8f6
2 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR gas/6518
|
||||||
|
* config/tc-i386.c (match_template): Report ambiguous operand
|
||||||
|
size, not invalid suffix when there is no match in Intel
|
||||||
|
syntax.
|
||||||
|
|
||||||
2008-05-22 Paul Brook <paul@codesourcery.com>
|
2008-05-22 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* config/tc-arm.c (parse_cond): Covert to lowercase before matching.
|
* config/tc-arm.c (parse_cond): Covert to lowercase before matching.
|
||||||
|
|
|
@ -3754,6 +3754,10 @@ match_template (void)
|
||||||
if (t == current_templates->end)
|
if (t == current_templates->end)
|
||||||
{
|
{
|
||||||
/* We found no match. */
|
/* We found no match. */
|
||||||
|
if (intel_syntax)
|
||||||
|
as_bad (_("ambiguous operand size or operands invalid for `%s'"),
|
||||||
|
current_templates->start->name);
|
||||||
|
else
|
||||||
as_bad (_("suffix or operands invalid for `%s'"),
|
as_bad (_("suffix or operands invalid for `%s'"),
|
||||||
current_templates->start->name);
|
current_templates->start->name);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue