diff options
author | Nick Clifton <nickc@redhat.com> | 2017-10-05 13:25:44 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-10-05 13:25:44 +0100 |
commit | 5c144731ed7b9ad39c947f8411b1dde4fbdda2e6 (patch) | |
tree | d2186727686f175b8ca16963b2ccd58c63cae7cc /binutils | |
parent | ef336cb09a4193b3c86284a875c7bc4c2978bfad (diff) | |
download | gdb-5c144731ed7b9ad39c947f8411b1dde4fbdda2e6.zip gdb-5c144731ed7b9ad39c947f8411b1dde4fbdda2e6.tar.gz gdb-5c144731ed7b9ad39c947f8411b1dde4fbdda2e6.tar.bz2 |
Change readelf so that when --wide is active a relocation's full name is displayed.
PR 22262
binutils* readelf.c (dump_relocations): Do not truncate reloc names when
displaying output in wide mode.
ld * testsuite/ld-powerpc/relocsort.d: Update expected output (for
longer reloc names).
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 784ae17..8af4719 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,11 @@ 2017-10-05 Nick Clifton <nickc@redhat.com> + PR 22262 + * readelf.c (dump_relocations): Do not truncate reloc names when + displaying output in wide mode. + +2017-10-05 Nick Clifton <nickc@redhat.com> + * README-how-to-make-a-release: Merge steps 3, 4 and 5, and insert the git tag operation at the correct location. diff --git a/binutils/readelf.c b/binutils/readelf.c index 260aedf..3cdde6c 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1542,7 +1542,7 @@ dump_relocations (FILE * file, if (rtype == NULL) printf (_("unrecognized: %-7lx"), (unsigned long) type & 0xffffffff); else - printf (do_wide ? "%-22.22s" : "%-17.17s", rtype); + printf (do_wide ? "%-22s" : "%-17.17s", rtype); if (elf_header.e_machine == EM_ALPHA && rtype != NULL |