diff options
author | Nelson Chu <nelson.chu@sifive.com> | 2020-12-08 14:39:01 +0800 |
---|---|---|
committer | Nelson Chu <nelson.chu@sifive.com> | 2020-12-10 10:43:18 +0800 |
commit | 8152e0407c25612c6a8079cc8e1a5c1fe14afdbf (patch) | |
tree | daa8aa52a6cb7ed7f284c8ea31019af9d502badf /opcodes/ChangeLog | |
parent | 729a53530e86972d1143553a415db34e6e01d5d2 (diff) | |
download | fsf-binutils-gdb-8152e0407c25612c6a8079cc8e1a5c1fe14afdbf.zip fsf-binutils-gdb-8152e0407c25612c6a8079cc8e1a5c1fe14afdbf.tar.gz fsf-binutils-gdb-8152e0407c25612c6a8079cc8e1a5c1fe14afdbf.tar.bz2 |
RISC-V: Dump CSR according to the elf privileged spec attributes.
opcodes/
* disassemble.h (riscv_get_disassembler): Declare.
* disassemble.c (disassembler): Changed to riscv_get_disassembler.
* riscv-dis.c (riscv_get_disassembler): Check the elf privileged spec
attributes before calling print_insn_riscv.
(parse_riscv_dis_option): Same as the assembler, the priority of elf
attributes are higher than the options. If we find the privileged
attributes, but the -Mpriv-spec= is different, then output error/warning
and still use the elf attributes set.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index b0cc885..b380119 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,16 @@ 2020-12-10 Nelson Chu <nelson.chu@sifive.com> + * disassemble.h (riscv_get_disassembler): Declare. + * disassemble.c (disassembler): Changed to riscv_get_disassembler. + * riscv-dis.c (riscv_get_disassembler): Check the elf privileged spec + attributes before calling print_insn_riscv. + (parse_riscv_dis_option): Same as the assembler, the priority of elf + attributes are higher than the options. If we find the privileged + attributes, but the -Mpriv-spec= is different, then output error/warning + and still use the elf attributes set. + +2020-12-10 Nelson Chu <nelson.chu@sifive.com> + * riscv-opc.c (riscv_opcodes): Control fence.i and csr instructions by zifencei and zicsr. |