Print addend as signed in objdump
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 14 May 2012 02:40:00 +0000 (02:40 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 May 2012 02:40:00 +0000 (02:40 +0000)
commit343dbc36ffaeb831073fbc64101a16f63e4daca8
tree8e5ba9f06e98317ae12f0fd48debb01962023f41
parentc772f8e7339f4e0c8b8a5ed10d71848002c2ac18
Print addend as signed in objdump

binutils/

* objdump.c (disassemble_bytes): Print addend as signed.
(dump_reloc_set): Likewise.

gas/testsuite/

* gas/all/fwdexp.d: Expect addend as signed.
* gas/alpha/elf-reloc-1.d: Likewise.
* gas/i386/mixed-mode-reloc64.d: Likewise.
* gas/i386/reloc64.d: Likewise.
* gas/i386/ilp32/mixed-mode-reloc64.d: Expect addend as signed.
* gas/i386/ilp32/reloc64.d: Likewise.
* gas/ia64/pcrel.d: Likewise.
* gas/mips/branch-misc-2-64.d: Likewise.
* gas/mips/branch-misc-2pic-64.d: Likewise.
* gas/mips/branch-misc-4-64.d: Likewise.
* gas/mips/ldstla-n64-sym32.d: Likewise.
* gas/mips/micromips@branch-misc-2-64.d: Likewise.
* gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
* gas/mips/micromips@branch-misc-4-64.d: Likewise.
* gas/mips/mips16-hilo-n32.d: Likewise.
* gas/ppc/astest.d: Likewise.
* gas/ppc/astest2.d: Likewise.
* gas/ppc/astest2_64.d: Likewise.
* gas/ppc/astest64.d: Likewise.
* gas/ppc/test1elf32.d: Likewise.
* gas/ppc/test1elf64.d: Likewise.
* gas/sparc/reloc64.d: Likewise.
25 files changed:
binutils/ChangeLog
binutils/objdump.c
gas/testsuite/ChangeLog
gas/testsuite/gas/all/fwdexp.d
gas/testsuite/gas/alpha/elf-reloc-1.d
gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d
gas/testsuite/gas/i386/ilp32/reloc64.d
gas/testsuite/gas/i386/mixed-mode-reloc64.d
gas/testsuite/gas/i386/reloc64.d
gas/testsuite/gas/ia64/pcrel.d
gas/testsuite/gas/mips/branch-misc-2-64.d
gas/testsuite/gas/mips/branch-misc-2pic-64.d
gas/testsuite/gas/mips/branch-misc-4-64.d
gas/testsuite/gas/mips/ldstla-n64-sym32.d
gas/testsuite/gas/mips/micromips@branch-misc-2-64.d
gas/testsuite/gas/mips/micromips@branch-misc-2pic-64.d
gas/testsuite/gas/mips/micromips@branch-misc-4-64.d
gas/testsuite/gas/mips/mips16-hilo-n32.d
gas/testsuite/gas/ppc/astest.d
gas/testsuite/gas/ppc/astest2.d
gas/testsuite/gas/ppc/astest2_64.d
gas/testsuite/gas/ppc/astest64.d
gas/testsuite/gas/ppc/test1elf32.d
gas/testsuite/gas/ppc/test1elf64.d
gas/testsuite/gas/sparc/reloc64.d