Lines Matching full:versym
251 static const ElfW(Versym) kVersymNotNeeded = 0;
252 static const ElfW(Versym) kVersymGlobal = 1;
607 const ElfW(Versym)* soinfo::get_versym(size_t n) const {
695 bool soinfo::find_verdef_version_index(const version_info* vi, ElfW(Versym)* versym) const {
697 *versym = kVersymNotNeeded;
701 *versym = kVersymGlobal;
707 *versym = verdef->vd_ndx;
744 static const ElfW(Versym) kVersymHiddenBit = 0x8000;
746 static inline bool is_versym_hidden(const ElfW(Versym)* versym) {
747 // the symbol is hidden if bit 15 of versym is set.
748 return versym != nullptr && (*versym & kVersymHiddenBit) != 0;
751 static inline bool check_symbol_version(const ElfW(Versym) verneed,
752 const ElfW(Versym)* verdef) {
791 // lookup versym for the version definition in this library
797 ElfW(Versym) verneed = 0;
804 const ElfW(Versym)* verdef = get_versym(n);
836 ElfW(Versym) verneed = 0;
843 const ElfW(Versym)* verdef = get_versym(n);
2593 const version_info* VersionTracker::get_version_info(ElfW(Versym) source_symver) const {
2682 const ElfW(Versym)* sym_ver_ptr = get_versym(sym);
2683 ElfW(Versym) sym_ver = sym_ver_ptr == nullptr ? 0 : *sym_ver_ptr;
3819 versym_ = reinterpret_cast<ElfW(Versym)*>(load_bias + d->d_un.d_ptr);