oops - omitted fix to display unknown symbol type in hex.

This commit is contained in:
Nick Clifton 2002-11-06 17:02:36 +00:00
parent 5cf1065c25
commit 49814ed01f
2 changed files with 3 additions and 2 deletions

View 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>

View 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;
}