Versioning Sections
Objects created by the link-editor can contain two types of versioning information.
-
Version definitions provide associations of global symbols and are implemented using sections of type
SHT_SUNW_verdef
andSHT_SUNW_versym
.
-
Version dependencies indicate the version definition requirements from other object dependencies and are implemented using sections of type
SHT_SUNW_verneed
andSHT_SUNW_versym
.
The structures that form these sections are defined in
sys/link.h
. Sections that contain versioning information are named
.SUNW_version
.