public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] RISC-V: Report "c or zca" for INSN_CLASS_C when error reporting.
@ 2023-08-18  3:56 Nelson Chu
  0 siblings, 0 replies; only message in thread
From: Nelson Chu @ 2023-08-18  3:56 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=899748950c12ee446bb394bb9660da1034bfbdc9

commit 899748950c12ee446bb394bb9660da1034bfbdc9
Author: Nelson Chu <nelson@rivosinc.com>
Date:   Fri Aug 18 11:51:04 2023 +0800

    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".

Diff:
---
 bfd/elfxx-riscv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");
     case INSN_CLASS_F_AND_C:
       if (!riscv_subset_supports (rps, "f"))
 	{

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-18  3:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18  3:56 [binutils-gdb] RISC-V: Report "c or zca" for INSN_CLASS_C when error reporting Nelson Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).