diff options
author | Nelson Chu <nelson@rivosinc.com> | 2023-08-18 11:51:04 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2023-08-18 11:54:01 +0800 |
commit | 899748950c12ee446bb394bb9660da1034bfbdc9 (patch) | |
tree | 19c56ab81b226fe1876ece71f588623825665de1 | |
parent | 3b5f2477bcaca29d32734fdc3848bfc20a1e8dfa (diff) | |
download | binutils-899748950c12ee446bb394bb9660da1034bfbdc9.zip binutils-899748950c12ee446bb394bb9660da1034bfbdc9.tar.gz binutils-899748950c12ee446bb394bb9660da1034bfbdc9.tar.bz2 |
RISC-V: Report "c or zca" for INSN_CLASS_C when error reporting.
bfd/
* elfxx-riscv.c (riscv_multi_subset_supports_ext): Return "c or zca"
rather than "c".
-rw-r--r-- | bfd/elfxx-riscv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index e9852ef..cb65024 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"); case INSN_CLASS_F_AND_C: if (!riscv_subset_supports (rps, "f")) { |