From: nickc Date: Thu, 7 Nov 2002 08:33:15 +0000 (+0000) Subject: Revert part of previous patch: Display unknown symbol types in decimal, not hex. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d7e14a4fd96b86f9a2c1d48f846f4dd2b4804d6c;p=pf3gnuchains%2Fpf3gnuchains3x.git Revert part of previous patch: Display unknown symbol types in decimal, not hex. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5639e03e03..4dd26847d2 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2002-11-07 Nick Clifton + + * readelf.c (get_symbol_index_type): Revert part of previous + patch: Display unknown symbol types in decimal, not hex. + 2002-11-07 Danny Smith * dlltool.c (add_excludes): Don't prefix excluded fastcall diff --git a/binutils/readelf.c b/binutils/readelf.c index 23ab97603e..f381e2393a 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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; }