aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c8
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;
}