RISC-V: Fix bug in prior addi/c.nop patch.
authorJim Wilson <jimw@sifive.com>
Wed, 17 Jan 2018 22:04:16 +0000 (14:04 -0800)
committerJim Wilson <jimw@sifive.com>
Wed, 17 Jan 2018 22:04:16 +0000 (14:04 -0800)
commite925c834ecdb4a0ce595ad8d3da9c7d4f499ede0
treef323c5eb0919e82237abab99213414c1e822d3e0
parent9e14690d06ac55136b7f051a2d2b8e173fa3bbdf
RISC-V: Fix bug in prior addi/c.nop patch.

gas/
* config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
(riscv_ip) <'z'>: New.
opcodes/
* riscv-opc.c (riscv_opcodes) <addi>: Use z instead of 0.
gas/ChangeLog
gas/config/tc-riscv.c
opcodes/ChangeLog
opcodes/riscv-opc.c