diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-12-03 11:57:44 -0600 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-06 10:42:55 +1000 |
commit | ec2918b467228e7634f1dd5f35033ad3021b6ef7 (patch) | |
tree | 9e06b632800493528c5af5d7217338ec182c9571 /tests/tcg/Makefile.target | |
parent | 4c48aad122b9dd4d96184828d7172cc62dae01c5 (diff) | |
download | qemu-ec2918b467228e7634f1dd5f35033ad3021b6ef7.zip qemu-ec2918b467228e7634f1dd5f35033ad3021b6ef7.tar.gz qemu-ec2918b467228e7634f1dd5f35033ad3021b6ef7.tar.bz2 |
target/riscv: Set pc_succ_insn for !rvc illegal insn
Failure to set pc_succ_insn may result in a TB covering zero bytes,
which triggers an assert within the code generator.
Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1224
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221203175744.151365-1-richard.henderson@linaro.org>
[ Changes by AF:
- Add missing run-plugin-test-noc-% line
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'tests/tcg/Makefile.target')
-rw-r--r-- | tests/tcg/Makefile.target | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index 75257f2..14bc013 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -117,6 +117,8 @@ endif %: %.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) +%: %.S + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) else # For softmmu targets we include a different Makefile fragement as the # build options for bare programs are usually pretty different. They |