forked from Imagelibrary/binutils-gdb
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).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user