Lines Matching refs:sym
96 soinfo** found_in, const ElfW(Sym)** sym) { in lookup_symbol() argument
99 *sym = relocator.cache_sym; in lookup_symbol()
114 *sym = local_sym; in lookup_symbol()
117 if (*sym == nullptr) { in lookup_symbol()
168 const ElfW(Sym)* sym = nullptr; in process_relocation_impl()
244 sym = &relocator.si_symtab[r_sym]; in process_relocation_impl()
246 sym_name, relocator.si->get_realpath(), ELF_ST_TYPE(sym->st_info), r_type); in process_relocation_impl()
248 } else if (!lookup_symbol<IsGeneral>(relocator, r_sym, sym_name, &found_in, &sym)) { in process_relocation_impl()
257 if (sym != nullptr) { in process_relocation_impl()
258 if (ELF_ST_TYPE(sym->st_info) != STT_TLS) { in process_relocation_impl()
264 sym_addr = sym->st_value; in process_relocation_impl()
270 if (!lookup_symbol<IsGeneral>(relocator, r_sym, sym_name, &found_in, &sym)) return false; in process_relocation_impl()
271 if (sym != nullptr) { in process_relocation_impl()
274 ELF_ST_TYPE(sym->st_info) == STT_GNU_IFUNC; in process_relocation_impl()
276 sym_addr = found_in->resolve_symbol_address(sym); in process_relocation_impl()