diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2007-11-23 11:29:36 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2007-11-23 11:29:36 +0000 |
commit | 02cd3fead53aa8b13da19f5e205c1e77d1329a34 (patch) | |
tree | c8bb4e338f1d8558c0ed86e5c3399774db90f546 /lib/libelf/libelf_data.c | |
parent | 9d7c423748316c4da947cbab1dfcf8e19398c77e (diff) | |
download | FreeBSD-src-02cd3fead53aa8b13da19f5e205c1e77d1329a34.zip FreeBSD-src-02cd3fead53aa8b13da19f5e205c1e77d1329a34.tar.gz |
Sections of type SHT_GNU_versym use ELF type ELF_T_HALF. Update manual
page and code to match.
Submitted by: jb
MFC After: 1 day
Diffstat (limited to 'lib/libelf/libelf_data.c')
-rw-r--r-- | lib/libelf/libelf_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index 873fac8..d2d583f 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: |