mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
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>
|
||||
|
||||
* testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
|
||||
|
@ -6508,8 +6508,7 @@ process_section_headers (Filedata * filedata)
|
||||
}
|
||||
else if (do_section_details)
|
||||
{
|
||||
printf (" %-15.15s ",
|
||||
get_section_type_name (filedata, section->sh_type));
|
||||
putchar (' ');
|
||||
print_vma (section->sh_addr, LONG_HEX);
|
||||
if ((long) section->sh_offset == section->sh_offset)
|
||||
printf (" %16.16lx", (unsigned long) section->sh_offset);
|
||||
|
Loading…
Reference in New Issue
Block a user