[Committed] RISC-V: Report "c or zca" for INSN_CLASS_C when error reporting.

Andreas Schwab schwab@linux-m68k.org
Fri Aug 18 06:57:58 GMT 2023


On Aug 18 2023, Nelson Chu wrote:

> diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
> index e9852ef8fa1..cb65024beaf 100644
> --- a/bfd/elfxx-riscv.c
> +++ b/bfd/elfxx-riscv.c
> @@ -2625,7 +2625,7 @@ riscv_multi_subset_supports_ext (riscv_parse_subset_t *rps,
>      case INSN_CLASS_Q:
>        return "q";
>      case INSN_CLASS_C:
> -      return "c";
> +      return _("c' or `zca");

That text is substituted into a longer sentence, and not i18n friendly.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Binutils mailing list