PATCH: Print addend as signed in objdump

Hans-Peter Nilsson
Mon May 14 08:40:00 GMT 2012

> From: "H.J. Lu" <>
> Date: Sat, 12 May 2012 16:53:19 +0200

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

Causing, for cris-elf:

Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/cris/cris.exp ...
FAIL: PIC relocs.
FAIL: TLS non-PIC relocs.
FAIL: TLS PIC relocs.

Adjusting all test-cases goes along with adjusting objdump, just
as with readelf.  Thanks.

brgds, H-P

More information about the Binutils mailing list