Revert part of previous patch: Display unknown symbol types in decimal, not hex.
authorNick Clifton <nickc@redhat.com>
Thu, 7 Nov 2002 08:33:15 +0000 (08:33 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 7 Nov 2002 08:33:15 +0000 (08:33 +0000)
binutils/ChangeLog
binutils/readelf.c

index 5639e03e03c80375b8de7da8fad01e1fa1f94621..4dd26847d2499c1eec12eaf8c958a1bd4c3c6f9b 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-07  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_symbol_index_type): Revert part of previous
+       patch: Display unknown symbol types in decimal, not hex.
+
 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * dlltool.c (add_excludes): Don't prefix excluded fastcall
index 23ab97603ee9bd7361232dfd46568b4cad611376..f381e2393a248032a298cc07360378c91d324e79 100644 (file)
@@ -5529,7 +5529,7 @@ get_symbol_index_type (type)
       else if (type >= SHN_LORESERVE && type <= SHN_HIRESERVE)
        sprintf (buff, "RSV[0x%04x]", type);
       else
-       sprintf (buff, "0x%04x", type);
+       sprintf (buff, "%3d", type);
       break;
     }