Lines Matching full:elfcpp
25 #include "elfcpp.h"
70 Symbol::override_visibility(elfcpp::STV visibility)
77 if (visibility != elfcpp::STV_DEFAULT)
79 if (this->visibility_ == elfcpp::STV_DEFAULT)
90 Symbol::override_base(const elfcpp::Sym<size, big_endian>& sym,
116 Sized_symbol<size>::override(const elfcpp::Sym<size, big_endian>& sym,
131 const elfcpp::Sym<size, big_endian>& fromsym,
175 symbol_to_bits(elfcpp::STB binding, bool is_dynamic,
176 unsigned int shndx, bool is_ordinary, elfcpp::STT type)
182 case elfcpp::STB_GLOBAL:
183 case elfcpp::STB_GNU_UNIQUE:
187 case elfcpp::STB_WEAK:
191 case elfcpp::STB_LOCAL:
211 case elfcpp::SHN_UNDEF:
215 case elfcpp::SHN_COMMON:
221 if (type == elfcpp::STT_COMMON)
245 const elfcpp::Sym<size, big_endian>& sym,
278 else if (st_shndx == elfcpp::SHN_UNDEF
279 && (to->visibility() == elfcpp::STV_HIDDEN
280 || to->visibility() == elfcpp::STV_INTERNAL))
310 if (to->is_common() && !is_ordinary && st_shndx == elfcpp::SHN_COMMON)
338 && (sym.get_st_bind() == elfcpp::STB_WEAK
339 || to->binding() == elfcpp::STB_WEAK)
340 && orig_st_shndx != elfcpp::SHN_UNDEF
341 && to->shndx(&to_is_ordinary) != elfcpp::SHN_UNDEF
361 elfcpp::STT fromtype = (object->pluginobj() != NULL
376 elfcpp::STB tobinding = to->binding();
441 elfcpp::STT fromtype, Defined defined,
450 tobits = symbol_to_bits(to->binding(), false, elfcpp::SHN_UNDEF, true,
453 tobits = symbol_to_bits(to->binding(), false, elfcpp::SHN_ABS, false,
466 if ((to->type() == elfcpp::STT_TLS) ^ (fromtype == elfcpp::STT_TLS)
908 elfcpp::STT fromtype,
1021 if (tosym->binding() == elfcpp::STB_LOCAL
1022 || ((tosym->visibility() == elfcpp::STV_HIDDEN
1023 || tosym->visibility() == elfcpp::STV_INTERNAL)
1024 && (tosym->binding() == elfcpp::STB_GLOBAL
1025 || tosym->binding() == elfcpp::STB_GNU_UNIQUE
1026 || tosym->binding() == elfcpp::STB_WEAK)
1043 const elfcpp::Sym<32, false>& sym,
1054 const elfcpp::Sym<32, true>& sym,
1067 const elfcpp::Sym<64, false>& sym,
1078 const elfcpp::Sym<64, true>& sym,