[ARC] Force the disassam to use the hexadecimal number for printing
authorclaziss <claziss@synopsys.com>
Fri, 3 Nov 2017 14:36:42 +0000 (15:36 +0100)
committerclaziss <claziss@synopsys.com>
Fri, 3 Nov 2017 14:36:54 +0000 (15:36 +0100)
commitfdddd2900f39584e7d6cee27127593fba2cb0cf2
treee275e77f8026e669737a770701265b922620ec97
parent7605d944531519ddf9026bf059475a4347c83aa4
[ARC] Force the disassam to use the hexadecimal number for printing

Force printing of the short/signed values using hexadecimal
representation via disassembler option.

opcode/
2017-11-03  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-dis.c (print_hex): New variable.
        (parse_option): Check for hex option.
        (print_insn_arc): Use hexadecimal representation for short
        immediate values when requested.
        (print_arc_disassembler_options): Add hex option to the list.

binutils/
2017-11-03  Claudiu Zissulescu  <claziss@synopsys.com>

        * doc/binutils.texi (ARC): Update disassembler options.
        * testsuite/binutils-all/arc/hexprint.s: New file.
        * testsuite/binutils-all/arc/objdump.exp: Test hex printing feature.
binutils/ChangeLog
binutils/doc/binutils.texi
binutils/testsuite/binutils-all/arc/hexprint.s [new file with mode: 0644]
binutils/testsuite/binutils-all/arc/objdump.exp
opcodes/ChangeLog
opcodes/arc-dis.c