* readelf.c (process_corefile_note_segment): Change header field

widths.
	(process_note): Change field widths.
This commit is contained in:
Tom Tromey 2011-04-26 13:07:47 +00:00
parent 054c055baf
commit 2aee03ae36
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-04-21 Tom Tromey <tromey@redhat.com>
* readelf.c (process_corefile_note_segment): Change header field
widths.
(process_note): Change field widths.
2011-04-21 Tom Tromey <tromey@redhat.com>
* readelf.c (print_gnu_note): New function.

View File

@ -12501,7 +12501,7 @@ process_note (Elf_Internal_Note * pnote)
note type strings. */
nt = get_note_type (pnote->type);
printf (" %-10s\t0x%08lx\t%s\n", name, pnote->descsz, nt);
printf (" %-20s 0x%08lx\t%s\n", name, pnote->descsz, nt);
if (const_strneq (pnote->namedata, "IPF/VMS"))
return print_ia64_vms_note (pnote);
@ -12531,7 +12531,7 @@ process_corefile_note_segment (FILE * file, bfd_vma offset, bfd_vma length)
printf (_("\nNotes at offset 0x%08lx with length 0x%08lx:\n"),
(unsigned long) offset, (unsigned long) length);
printf (_(" Owner\t\tData size\tDescription\n"));
printf (_(" %-20s %10s\tDescription\n"), _("Owner"), _("Data size"));
while (external < (Elf_External_Note *) ((char *) pnotes + length))
{