aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-11-06 17:02:36 +0000
committerNick Clifton <nickc@redhat.com>2002-11-06 17:02:36 +0000
commit49814ed01f56e659a0cad08115579fc6742c3f6e (patch)
tree37d0f37fe77f3ea8860687752bc5e6883a0b9aa4 /binutils/readelf.c
parent5cf1065c254b9b71636663c33307a8162fdccaf4 (diff)
downloadgdb-49814ed01f56e659a0cad08115579fc6742c3f6e.zip
gdb-49814ed01f56e659a0cad08115579fc6742c3f6e.tar.gz
gdb-49814ed01f56e659a0cad08115579fc6742c3f6e.tar.bz2
oops - omitted fix to display unknown symbol type in hex.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index f381e23..23ab976 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;
}