diff options
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/riscv-dis.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a9bdb2f..b04cf0e 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2018-12-03 Kito Cheng <kito@andestech.com> + + * riscv-opc.c: Change the type of xlen, because type of + xlen_requirement changed. + 2018-12-03 Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> PR 23193 diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c index 890f1f8..9790820 100644 --- a/opcodes/riscv-dis.c +++ b/opcodes/riscv-dis.c @@ -408,7 +408,7 @@ riscv_disassemble_insn (bfd_vma memaddr, insn_t word, disassemble_info *info) op = riscv_hash[OP_HASH_IDX (word)]; if (op != NULL) { - int xlen = 0; + unsigned xlen = 0; /* If XLEN is not known, get its value from the ELF class. */ if (info->mach == bfd_mach_riscv64) |