diff options
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 66d5ea5..c70b9f4 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -5067,14 +5067,26 @@ md_assemble (char *line) return; case unsupported_64bit: if (ISLOWER (mnem_suffix)) - as_bad (_("`%s%c' is %s supported in 64-bit mode"), - pass1_mnem ? pass1_mnem : current_templates->start->name, - mnem_suffix, - flag_code == CODE_64BIT ? _("not") : _("only")); + { + if (flag_code == CODE_64BIT) + as_bad (_("`%s%c' is not supported in 64-bit mode"), + pass1_mnem ? pass1_mnem : current_templates->start->name, + mnem_suffix); + else + as_bad (_("`%s%c' is only supported in 64-bit mode"), + pass1_mnem ? pass1_mnem : current_templates->start->name, + mnem_suffix); + } else - as_bad (_("`%s' is %s supported in 64-bit mode"), - pass1_mnem ? pass1_mnem : current_templates->start->name, - flag_code == CODE_64BIT ? _("not") : _("only")); + { + if (flag_code == CODE_64BIT) + as_bad (_("`%s' is not supported in 64-bit mode"), + pass1_mnem ? pass1_mnem : current_templates->start->name); + else + as_bad (_("`%s' is only supported in 64-bit mode"), + pass1_mnem ? pass1_mnem : current_templates->start->name); + } + return; case invalid_sib_address: err_msg = _("invalid SIB address"); |