Fix disassembly of RISC-V CSR instructions under -Mno-aliases
authorAndrew Waterman <andrew@sifive.com>
Mon, 19 Dec 2016 06:53:53 +0000 (22:53 -0800)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Dec 2016 01:56:35 +0000 (12:26 +1030)
commit04386d9ed5f068b74757bfac01670576e4e59b8a
tree8c52d85a4a0976fbedd4260bc49b754ca56d78f5
parent755c5297bdbca564e97040ce7f036ed02dc7fa4a
Fix disassembly of RISC-V CSR instructions under -Mno-aliases

This fixes https://github.com/riscv/riscv-binutils-gdb/issues/36.

* riscv-opc.c (riscv_opcodes): Mark the rd* and csr* aliases as
INSN_ALIAS.
opcodes/ChangeLog
opcodes/riscv-opc.c