This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] readelf: Don't print section type twice for --section-details
On Wed, Jul 11, 2018 at 06:14:16PM +0200, Francois H. Theron wrote:
> --- a/binutils/readelf.c
> +++ b/binutils/readelf.c
> @@ -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);
Thanks, applied.
--
Alan Modra
Australia Development Lab, IBM