2003-05-07 H.J. Lu <hongjiu.lu@intel.com>

* readelf.c (dump_relocations): Enlarge the type field in wide
	mode by one character.
This commit is contained in:
H.J. Lu 2003-05-07 14:30:13 +00:00
parent 3a8260b266
commit 8beeaeb703
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Enlarge the type field in wide
mode by one character.
2003-05-03 Richard Henderson <rth@redhat.com>
* readelf.c (struct Frame_Chunk): Add cfa_exp.

View File

@ -1071,14 +1071,14 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
if (is_rela)
{
if (do_wide)
printf (_(" Offset Info Type Symbol's Value Symbol's Name + Addend\n"));
printf (_(" Offset Info Type Symbol's Value Symbol's Name + Addend\n"));
else
printf (_(" Offset Info Type Sym. Value Sym. Name + Addend\n"));
}
else
{
if (do_wide)
printf (_(" Offset Info Type Symbol's Value Symbol's Name\n"));
printf (_(" Offset Info Type Symbol's Value Symbol's Name\n"));
else
printf (_(" Offset Info Type Sym. Value Sym. Name\n"));
}
@ -1361,7 +1361,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
printf (_("unrecognized: %-7lx"), type);
#endif
else
printf (do_wide ? "%-21.21s" : "%-17.17s", rtype);
printf (do_wide ? "%-22.22s" : "%-17.17s", rtype);
if (symtab_index)
{