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
This commit is contained in:
parent
506310cd36
commit
1eb6c69045
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173869
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user