summaryrefslogtreecommitdiff
path: root/lib/libelf/libelf_data.c
diff options
context:
space:
mode:
authorKai Wang <kaiw@FreeBSD.org>2010-07-21 10:39:29 +0000
committerKai Wang <kaiw@FreeBSD.org>2010-07-21 10:39:29 +0000
commitfff07a4233ac0166070431a563ed3b644a091885 (patch)
tree9e3351c461c35ef9a25f30454c83f6e09b0a3ccc /lib/libelf/libelf_data.c
parentf0f10541db7240f5b549bd2590c1eec9f3d17e4e (diff)
Notes
Diffstat (limited to 'lib/libelf/libelf_data.c')
-rw-r--r--lib/libelf/libelf_data.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c
index 77493005bc1f..8f88694573e0 100644
--- a/lib/libelf/libelf_data.c
+++ b/lib/libelf/libelf_data.c
@@ -42,6 +42,10 @@ _libelf_xlate_shtype(uint32_t sht)
return (ELF_T_SYM);
case SHT_FINI_ARRAY:
return (ELF_T_ADDR);
+#if __FreeBSD_version >= 800062
+ case SHT_GNU_HASH:
+ return (ELF_T_GNUHASH);
+#endif
case SHT_GROUP:
return (ELF_T_WORD);
case SHT_HASH: