]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
RISC-V: Report "c or zca" for INSN_CLASS_C when error reporting.
authorNelson Chu <nelson@rivosinc.com>
Fri, 18 Aug 2023 03:51:04 +0000 (11:51 +0800)
committerNelson Chu <nelson@rivosinc.com>
Fri, 18 Aug 2023 03:54:01 +0000 (11:54 +0800)
bfd/
* elfxx-riscv.c (riscv_multi_subset_supports_ext): Return "c or zca"
rather than "c".

bfd/elfxx-riscv.c

index e9852ef8fa161df643591e68843500777f5873c8..cb65024beaffbe60b51e303c058f2bb573d72f38 100644 (file)
@@ -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");
     case INSN_CLASS_F_AND_C:
       if (!riscv_subset_supports (rps, "f"))
        {