diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-05-07 14:30:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-05-07 14:30:13 +0000 |
commit | 8beeaeb70352f6ebc0e8270f6a67320f439e4dd7 (patch) | |
tree | f3a8615d6daa4c1bc4b6a3857d3bec712315244c /binutils | |
parent | 3a8260b2660859d82a0ccaa6e33aadf7150b0571 (diff) | |
download | gdb-8beeaeb70352f6ebc0e8270f6a67320f439e4dd7.zip gdb-8beeaeb70352f6ebc0e8270f6a67320f439e4dd7.tar.gz gdb-8beeaeb70352f6ebc0e8270f6a67320f439e4dd7.tar.bz2 |
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Enlarge the type field in wide
mode by one character.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a12edf0..80d0f0c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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. diff --git a/binutils/readelf.c b/binutils/readelf.c index 1a50541..c1a52db 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) { |