summaryrefslogtreecommitdiffstats
path: root/lib/libelf/libelf_data.c
diff options
context:
space:
mode:
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 7749300..8f88694 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:
OpenPOWER on IntegriCloud