From f7e14621045e6a849b626bd33f655c2a6d81b359 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Nov 2002 17:02:36 +0000 Subject: [PATCH] oops - omitted fix to display unknown symbol type in hex. --- binutils/ChangeLog | 3 ++- binutils/readelf.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 856a91016..51b51bed2 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,7 +1,8 @@ 2002-11-06 Hiroyuki Machida * 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 diff --git a/binutils/readelf.c b/binutils/readelf.c index f381e2393..23ab97603 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, "%3d", type); + sprintf (buff, "0x%04x", type); break; } -- 2.11.4.GIT