diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 2008-02-10 14:34:36 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2008-02-10 14:34:36 +0000 |
| commit | d6a16e6740c5033f23ef11d6a0cc86628ea0d6c9 (patch) | |
| tree | 694aa28026383eae2fe9be458543f98211ba7e98 /lib/libelf | |
| parent | d229058370b4035c4173a1d2fcd0fd043f59190b (diff) | |
Notes
Diffstat (limited to 'lib/libelf')
| -rw-r--r-- | lib/libelf/elf.3 | 1 | ||||
| -rw-r--r-- | lib/libelf/libelf_data.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libelf/elf.3 b/lib/libelf/elf.3 index c15063ba5b49..3281445f6aec 100644 --- a/lib/libelf/elf.3 +++ b/lib/libelf/elf.3 @@ -375,6 +375,7 @@ See .It Dv SHT_SYMTAB_SHNDX Ta Dv ELF_T_WORD Ta Used with extended section numbering. .It Dv SHT_GNU_verdef Ta Dv ELF_T_VDEF Ta Symbol version definitions. .It Dv SHT_GNU_verneed Ta Dv ELF_T_VNEED Ta Symbol versioning requirements. +.It Dv SHT_GNU_versym Ta Dv ELF_T_HALF Ta Version symbols. .It Dv SHT_SUNW_move Ta Dv ELF_T_MOVE Ta ELF move records. .It Dv SHT_SUNW_syminfo Ta Dv ELF_T_SYMINFO Ta Additional symbol flags. .El diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index 873fac811976..d2d583fe157b 100644 --- a/lib/libelf/libelf_data.c +++ b/lib/libelf/libelf_data.c @@ -72,7 +72,7 @@ _libelf_xlate_shtype(uint32_t sht) case SHT_GNU_verneed: /* == SHT_SUNW_verneed */ return (ELF_T_VNEED); case SHT_GNU_versym: /* == SHT_SUNW_versym */ - return (-1); /* XXX */ + return (ELF_T_HALF); case SHT_SUNW_move: return (ELF_T_MOVE); case SHT_SUNW_syminfo: |
