oops - omitted fix to display unknown symbol type in hex.
authorNick Clifton <nickc@redhat.com>
Wed, 6 Nov 2002 17:02:36 +0000 (17:02 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 6 Nov 2002 17:02:36 +0000 (17:02 +0000)
binutils/ChangeLog
binutils/readelf.c

index 856a9101674051a894cfced68fa243307a08418a..51b51bed2a5e79bd98b0fcb813047b4060f64d87 100644 (file)
@@ -1,7 +1,8 @@
 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
 
        * readelf.c (get_symbol_index_type): Add hex number to
-       PROCESSOR-specific, OS-specific, and reserved symbol types.
+       PROCESSOR-specific, OS-specific, reserved and unknown symbol
+       types.
 
 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
 
index f381e2393a248032a298cc07360378c91d324e79..23ab97603ee9bd7361232dfd46568b4cad611376 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, "%3d", type);
+       sprintf (buff, "0x%04x", type);
       break;
     }