diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-10-14 12:52:16 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-10-14 12:52:16 +0200 |
commit | d2552ba3e08067a30a03e5770f6fd8bd33f6f798 (patch) | |
tree | e16a5923c2d13f1c847be47ef953697066f37180 /bfd | |
parent | b16e13328b14e2668e2a4355d587368ed040b680 (diff) | |
download | gdb-d2552ba3e08067a30a03e5770f6fd8bd33f6f798.zip gdb-d2552ba3e08067a30a03e5770f6fd8bd33f6f798.tar.gz gdb-d2552ba3e08067a30a03e5770f6fd8bd33f6f798.tar.bz2 |
RISC-V: Zicbo{m,p,z} adjustments to riscv_multi_subset_supports_ext()
The lack thereof did caused gas to issue "internal: unreachable
INSN_CLASS_*" errors when trying to assemble respective insns without
the feature(s) enabled via e.g. ".option arch, ...". Of course a proper
hint towards the missing extension then wasn't given either.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elfxx-riscv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index f0c91cc..c89b1e5 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -2445,6 +2445,12 @@ riscv_multi_subset_supports_ext (riscv_parse_subset_t *rps, { case INSN_CLASS_I: return "i"; + case INSN_CLASS_ZICBOM: + return "zicbom"; + case INSN_CLASS_ZICBOP: + return "zicbop"; + case INSN_CLASS_ZICBOZ: + return "zicboz"; case INSN_CLASS_ZICSR: return "zicsr"; case INSN_CLASS_ZIFENCEI: |