2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 7 May 2003 14:30:13 +0000 (14:30 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 7 May 2003 14:30:13 +0000 (14:30 +0000)
* readelf.c (dump_relocations): Enlarge the type field in wide
mode by one character.

binutils/ChangeLog
binutils/readelf.c

index a12edf0..80d0f0c 100644 (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.
index 1a50541..c1a52db 100644 (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)
        {