From: Nelson Chu Date: Thu, 10 Jul 2025 13:50:19 +0000 (+0800) Subject: sim: riscv: Fix build issue due to INSN_CLASS_C was changed to INSN_CLASS_ZCA X-Git-Tag: binutils-2_45~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6a177d0a200db9feb84aaa23c4fac02df172b61;p=thirdparty%2Fbinutils-gdb.git sim: riscv: Fix build issue due to INSN_CLASS_C was changed to INSN_CLASS_ZCA --- diff --git a/sim/riscv/sim-main.c b/sim/riscv/sim-main.c index 4c949c46ac7..172c593f754 100644 --- a/sim/riscv/sim-main.c +++ b/sim/riscv/sim-main.c @@ -1302,7 +1302,7 @@ execute_one (SIM_CPU *cpu, unsigned_word iw, const struct riscv_opcode *op) case INSN_CLASS_ZAAMO: case INSN_CLASS_ZALRSC: return execute_a (cpu, iw, op); - case INSN_CLASS_C: + case INSN_CLASS_ZCA: /* Check whether model with C extension is selected. */ if (riscv_cpu->csr.misa & 4) return execute_c (cpu, iw, op);