aboutsummaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorJiawei <jiawei@iscas.ac.cn>2023-03-20 11:34:44 +0800
committerNelson Chu <nelson@rivosinc.com>2023-03-21 17:47:47 +0800
commite43d8768d909139bf5ec4a97c79a096ed28a4b08 (patch)
treec687c4696bee3bf48b03aa964730d0155de04592 /zlib
parentfec61519220148421595a21173f74401416d8d54 (diff)
downloadbinutils-e43d8768d909139bf5ec4a97c79a096ed28a4b08.zip
binutils-e43d8768d909139bf5ec4a97c79a096ed28a4b08.tar.gz
binutils-e43d8768d909139bf5ec4a97c79a096ed28a4b08.tar.bz2
RISC-V: Fix disassemble fetch fail return value.
This bug reported in https://sourceware.org/bugzilla/show_bug.cgi?id=30184 And discussed in https://sourceware.org/pipermail/binutils/2023-February/126213.html We also checked the implementation of return value in arm and mips. So this patch changes the return value to -1, that can fix bugs and maintain consistency with other architectures. opcodes/ChangeLog: * riscv-dis.c (print_insn_riscv):Change the return value.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions