+2023-01-03 Nick Clifton <nickc@redhat.com>
+
+ PR 29952
+ * config/tc-i386.c (md_assemble): Avoid constructing translatable
+ strings.
+
2023-01-03 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
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");