summaryrefslogtreecommitdiffstats
path: root/usr.bin/elfdump
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-08-11 18:02:48 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-08-11 18:02:48 +0000
commit9d6d6d865554a3765b90c7f530d73d5859222b2e (patch)
tree7f1b4f2ffe98f7baeb2c966db1a24c6517245dd8 /usr.bin/elfdump
parentb625eef93815f22c9e230e424f093043d4678fca (diff)
downloadFreeBSD-src-9d6d6d865554a3765b90c7f530d73d5859222b2e.zip
FreeBSD-src-9d6d6d865554a3765b90c7f530d73d5859222b2e.tar.gz
Teach elfdump(1) about the SUNW_dof section.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/elfdump')
-rw-r--r--usr.bin/elfdump/elfdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/elfdump/elfdump.c b/usr.bin/elfdump/elfdump.c
index 2ddfc85..8bd71e8 100644
--- a/usr.bin/elfdump/elfdump.c
+++ b/usr.bin/elfdump/elfdump.c
@@ -322,6 +322,7 @@ sh_types(u_int64_t sht) {
case 18: return "SHT_SYMTAB_SHNDX";
/* 0x60000000 - 0x6fffffff operating system-specific semantics */
case 0x6ffffff0: return "XXX:VERSYM";
+ case 0x6ffffff4: return "SHT_SUNW_dof";
case 0x6ffffff7: return "SHT_GNU_LIBLIST";
case 0x6ffffffc: return "XXX:VERDEF";
case 0x6ffffffd: return "SHT_SUNW(GNU)_verdef";
OpenPOWER on IntegriCloud