From 004a5bfc72b36b39a2aa1658123099cc0c5f98f2 Mon Sep 17 00:00:00 2001 From: Nelson Chu Date: Fri, 27 Oct 2023 08:39:17 +0800 Subject: RISC-V: Dump instruction without checking architecture support as usual. Since QEMU have supported -Max option to to enable all normal extensions, the dis-assembler should also add an option, -M,max to do the same thing. For the instruction, which have overlapped encodings like zfinx, will not be considered by the -M,max option. opcodes/ * riscv-dis.c (all_ext): New static boolean. If set, disassemble without checking architectire string. (riscv_disassemble_insn): Likewise. (parse_riscv_dis_option_without_args): Recognized -M,max option. binutils/ * NEWS: Updated. --- binutils/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'binutils') diff --git a/binutils/NEWS b/binutils/NEWS index 50c40afaf57..92cc9506c80 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,8 @@ -*- text -*- +* RISC-V disassembly now supports -M,max option like QEMU to dump instruction + without checking architecture support as usual. + Changes in 2.43: * The MIPS port now supports microMIPS MT Application Specific Extension -- cgit v1.2.3-65-gdbad