diff options
| author | Kai Wang <kaiw@FreeBSD.org> | 2010-09-04 13:13:00 +0000 |
|---|---|---|
| committer | Kai Wang <kaiw@FreeBSD.org> | 2010-09-04 13:13:00 +0000 |
| commit | 47b197ad1551b93f2e82b1914f6fb7fbeccd3d0a (patch) | |
| tree | 0975c2a73985fb007af5947d7246d9fe7034cff8 /lib/libelf/libelf_data.c | |
| parent | 7e098de2e192f94144b94cd5be2c64fe3fe668ac (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 3b20e1d75ae1..67388b6a4a31 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: |
