From 232e7cb82c8d367bb6d86672cf5e55b6fb0f2981 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 7 Nov 2002 08:33:15 +0000 Subject: [PATCH] Revert part of previous patch: Display unknown symbol types in decimal, not hex. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5639e03e03c..4dd26847d24 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 23ab97603ee..f381e2393a2 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; } -- 2.30.2