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_verdefandSHT_SUNW_versym.
-
Version dependencies indicate the version definition requirements from other object dependencies and are implemented using sections of type
SHT_SUNW_verneedandSHT_SUNW_versym.
The structures that form these sections are defined in
sys/link.h. Sections that contain versioning information are named
.SUNW_version.