RISC-V: Move certain arrays to riscv-opc.c
authorTsukasa OI <research_trasio@irq.a4lg.com>
Sat, 8 Oct 2022 13:58:11 +0000 (13:58 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 14 Oct 2022 05:21:38 +0000 (05:21 +0000)
commit3d9d92c22f6dd2a44f7d4e0d11c0671903e2387f
tree5345f72173ed84d3670fb04f7e5fc535eb6d9a0a
parent27fb6a1a7fcd047e7d01bef8e3c12ed67bc7aed0
RISC-V: Move certain arrays to riscv-opc.c

This is a part of small tidying (declare tables in riscv-opc.c).

include/ChangeLog:

* opcode/riscv.h (riscv_rm, riscv_pred_succ): Move declarations to
opcodes/riscv-opc.c.  New non-static definitions.

opcodes/ChangeLog:

* riscv-opc.c (riscv_rm, riscv_pred_succ): Move from
include/opcode/riscv.h.  Add description.
include/opcode/riscv.h
opcodes/riscv-opc.c