From 8beeaeb70352f6ebc0e8270f6a67320f439e4dd7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 May 2003 14:30:13 +0000 Subject: [PATCH] 2003-05-07 H.J. Lu * readelf.c (dump_relocations): Enlarge the type field in wide mode by one character. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a12edf0a3e8..80d0f0c0237 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2003-05-07 H.J. Lu + + * readelf.c (dump_relocations): Enlarge the type field in wide + mode by one character. + 2003-05-03 Richard Henderson * readelf.c (struct Frame_Chunk): Add cfa_exp. diff --git a/binutils/readelf.c b/binutils/readelf.c index 1a50541fb10..c1a52db7ffa 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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) { -- 2.30.2