diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-05-23 13:55:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-05-23 13:55:36 +0000 |
commit | 95f283e8f644349569df75b089178014914d276c (patch) | |
tree | 0eadf0cd73b253f7f8a7cf51fe07f31a599f2f6c /gas/config | |
parent | da5938a216697f120702fe275362302c8855c94b (diff) | |
download | gdb-95f283e8f644349569df75b089178014914d276c.zip gdb-95f283e8f644349569df75b089178014914d276c.tar.gz gdb-95f283e8f644349569df75b089178014914d276c.tar.bz2 |
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.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 16f3742..19a3ff0 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3754,8 +3754,12 @@ match_template (void) if (t == current_templates->end) { /* We found no match. */ - as_bad (_("suffix or operands invalid for `%s'"), - current_templates->start->name); + 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'"), + current_templates->start->name); return 0; } |