Fix incorrect extraction of signed constants in nios2 disassembler.
authorSandra Loosemore <sandra@codesourcery.com>
Sun, 23 Sep 2018 19:31:23 +0000 (12:31 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Sun, 23 Sep 2018 19:31:23 +0000 (12:31 -0700)
commit6031ac352c05c5c9f44e24fa1c5a8222a7a7d02d
tree203b9098b35e55b7ec678328d4ea54a3e4a98beb
parent65773341ee5ad9e2882fcb1aed7c3096e6b4f190
Fix incorrect extraction of signed constants in nios2 disassembler.

2018-09-23  Sandra Loosemore  <sandra@codesourcery.com>

opcodes/
* nios2-dis.c (nios2_print_insn_arg): Make sure signed conversions
are used when extracting signed fields and converting them to
potentially 64-bit types.
opcodes/ChangeLog
opcodes/nios2-dis.c