]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
PR26349, FAIL: binutils-all/pr25543 on hpux
authorAlan Modra <amodra@gmail.com>
Wed, 19 Aug 2020 08:49:38 +0000 (18:19 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 19 Aug 2020 11:55:47 +0000 (21:25 +0930)
commitd1ce973eb377f19240005665258ce1d89bd064b5
tree63c22a967d6bb294196b6b4bd81d605b1a34a39f
parent9327494e0eeb118727446412a7fce2c0616a6788
PR26349, FAIL: binutils-all/pr25543 on hpux

The 't' length modifier isn't in SUSv2, unsurprisingly %tx isn't
recognized by older printf implementations.  So even though 't' is
correct for ptrdiff_t we can't use it.  Also, _bfd_int64_high and
_bfd_int64_low disappeared in 2008.

PR 26349
* readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
and info fields.
(dump_section_as_strings): Don't use %tx to display offset.
binutils/ChangeLog
binutils/readelf.c