aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-11-07 08:33:15 +0000
committerNick Clifton <nickc@redhat.com>2002-11-07 08:33:15 +0000
commit232e7cb82c8d367bb6d86672cf5e55b6fb0f2981 (patch)
treec62c1c5e60305355f0fe95cc5d53c093bbeeeedd /binutils/readelf.c
parente6e68f1f64a24f41369407ab07ae2c94ec2b266d (diff)
downloadgdb-232e7cb82c8d367bb6d86672cf5e55b6fb0f2981.zip
gdb-232e7cb82c8d367bb6d86672cf5e55b6fb0f2981.tar.gz
gdb-232e7cb82c8d367bb6d86672cf5e55b6fb0f2981.tar.bz2
Revert part of previous patch: Display unknown symbol types in decimal, not 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 23ab976..f381e23 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;
}