readelf: Don't print section type twice for --section-details
* readelf.c (process_section_headers): Don't print section type twice for --section-details.
This commit is contained in:
parent
639eff9357
commit
55cc53e98b
@ -1,3 +1,8 @@
|
|||||||
|
2018-07-12 Francois H. Theron <francois.theron@netronome.com>
|
||||||
|
|
||||||
|
* readelf.c (process_section_headers): Don't print section type
|
||||||
|
twice for --section-details.
|
||||||
|
|
||||||
2018-07-10 Alan Modra <amodra@gmail.com>
|
2018-07-10 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
|
* testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
|
||||||
|
@ -6508,8 +6508,7 @@ process_section_headers (Filedata * filedata)
|
|||||||
}
|
}
|
||||||
else if (do_section_details)
|
else if (do_section_details)
|
||||||
{
|
{
|
||||||
printf (" %-15.15s ",
|
putchar (' ');
|
||||||
get_section_type_name (filedata, section->sh_type));
|
|
||||||
print_vma (section->sh_addr, LONG_HEX);
|
print_vma (section->sh_addr, LONG_HEX);
|
||||||
if ((long) section->sh_offset == section->sh_offset)
|
if ((long) section->sh_offset == section->sh_offset)
|
||||||
printf (" %16.16lx", (unsigned long) section->sh_offset);
|
printf (" %16.16lx", (unsigned long) section->sh_offset);
|
||||||
|
Loading…
Reference in New Issue
Block a user