Lines Matching refs:sym
154 const ElfW(Sym) *refsym, const ElfW(Sym) *sym, in elf_machine_fixup_plt()
172 const ElfW(Rela) *reloc, const ElfW(Sym) *sym, in elf_machine_rela()
179 const ElfW(Sym) *const __attribute__ ((unused)) refsym = sym; in elf_machine_rela()
180 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, r_type); in elf_machine_rela()
183 value = SYMBOL_ADDRESS (sym_map, sym, true) + reloc->r_addend; in elf_machine_rela()
185 if (sym != NULL in elf_machine_rela()
186 && __glibc_unlikely (ELFW(ST_TYPE) (sym->st_info) == STT_GNU_IFUNC) in elf_machine_rela()
187 && __glibc_likely (sym->st_shndx != SHN_UNDEF) in elf_machine_rela()
201 if (sym != NULL) in elf_machine_rela()
202 *addr_field = TLS_DTPREL_VALUE (sym) + reloc->r_addend; in elf_machine_rela()
206 if (sym != NULL) in elf_machine_rela()
209 *addr_field = TLS_TPREL_VALUE (sym_map, sym) + reloc->r_addend; in elf_machine_rela()
215 if (__glibc_unlikely (sym == NULL)) in elf_machine_rela()
221 if (__glibc_unlikely (ELFW (ST_TYPE) (sym->st_info) == STT_TLS)) in elf_machine_rela()
224 if (__glibc_likely (sym->st_value >= sym_map->l_tls_initimage_size)) in elf_machine_rela()
229 size_t size = sym->st_size; in elf_machine_rela()
230 if (__glibc_unlikely (sym->st_size != refsym->st_size)) in elf_machine_rela()
233 if (sym->st_size > refsym->st_size) in elf_machine_rela()
235 if (sym->st_size > refsym->st_size || GLRO(dl_verbose)) in elf_machine_rela()