diff options
| author | Kai Wang <kaiw@FreeBSD.org> | 2010-07-21 10:39:29 +0000 |
|---|---|---|
| committer | Kai Wang <kaiw@FreeBSD.org> | 2010-07-21 10:39:29 +0000 |
| commit | fff07a4233ac0166070431a563ed3b644a091885 (patch) | |
| tree | 9e3351c461c35ef9a25f30454c83f6e09b0a3ccc /lib/libelf/libelf_data.c | |
| parent | f0f10541db7240f5b549bd2590c1eec9f3d17e4e (diff) | |
Notes
Diffstat (limited to 'lib/libelf/libelf_data.c')
| -rw-r--r-- | lib/libelf/libelf_data.c | 4 |
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: |
