Lines Matching refs:sym

232 		       const ElfW(Sym) *refsym, const ElfW(Sym) *sym,  in elf_machine_fixup_plt()
263 const Elf32_Sym *sym, const struct r_found_version *version, in elf_machine_rel() argument
294 const Elf32_Sym *const refsym = sym; in elf_machine_rel()
296 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rel()
298 Elf32_Addr value = SYMBOL_ADDRESS (sym_map, sym, true); in elf_machine_rel()
300 if (sym != NULL in elf_machine_rel()
301 && __glibc_unlikely (ELFW(ST_TYPE) (sym->st_info) == STT_GNU_IFUNC) in elf_machine_rel()
302 && __glibc_likely (sym->st_shndx != SHN_UNDEF) in elf_machine_rel()
333 *reloc_addr += sym->st_size; in elf_machine_rel()
359 if (sym != NULL) in elf_machine_rel()
360 *reloc_addr = sym->st_value; in elf_machine_rel()
369 if (! sym) in elf_machine_rel()
381 (sym_map, sym->st_value + (ElfW(Word))td->arg); in elf_machine_rel()
388 td->arg = (void*)(sym->st_value - sym_map->l_tls_offset in elf_machine_rel()
398 *reloc_addr += map->l_tls_offset - sym->st_value; in elf_machine_rel()
404 if (sym != NULL) in elf_machine_rel()
407 *reloc_addr += sym_map->l_tls_offset - sym->st_value; in elf_machine_rel()
414 *reloc_addr += sym->st_value - map->l_tls_offset; in elf_machine_rel()
419 if (sym != NULL) in elf_machine_rel()
422 *reloc_addr += sym->st_value - sym_map->l_tls_offset; in elf_machine_rel()
435 if (sym == NULL) in elf_machine_rel()
439 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rel()
440 || (__glibc_unlikely(sym->st_size < refsym->st_size) in elf_machine_rel()
451 MIN (sym->st_size, refsym->st_size)); in elf_machine_rel()
471 const Elf32_Rela *reloc, const Elf32_Sym *sym, in elf_machine_rela() argument
483 const Elf32_Sym *const refsym = sym; in elf_machine_rela()
485 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rela()
487 Elf32_Addr value = SYMBOL_ADDRESS (sym_map, sym, true); in elf_machine_rela()
489 if (sym != NULL in elf_machine_rela()
490 && __glibc_likely (sym->st_shndx != SHN_UNDEF) in elf_machine_rela()
491 && __glibc_unlikely (ELFW(ST_TYPE) (sym->st_info) == STT_GNU_IFUNC) in elf_machine_rela()
499 value = sym->st_size; in elf_machine_rela()
521 *reloc_addr = (sym == NULL ? 0 : sym->st_value) + reloc->r_addend; in elf_machine_rela()
529 if (!sym) in elf_machine_rela()
544 (sym_map, sym->st_value + reloc->r_addend); in elf_machine_rela()
551 td->arg = (void*)(sym->st_value - sym_map->l_tls_offset in elf_machine_rela()
564 if (sym != NULL) in elf_machine_rela()
567 *reloc_addr = sym_map->l_tls_offset - sym->st_value in elf_machine_rela()
576 if (sym != NULL) in elf_machine_rela()
579 *reloc_addr = sym->st_value - sym_map->l_tls_offset in elf_machine_rela()
584 if (sym == NULL) in elf_machine_rela()
588 if (__glibc_unlikely (sym->st_size > refsym->st_size) in elf_machine_rela()
589 || (__glibc_unlikely (sym->st_size < refsym->st_size) in elf_machine_rela()
600 MIN (sym->st_size, refsym->st_size)); in elf_machine_rela()
714 const ElfW (Sym) *sym = &symtab[symndx]; in elf_machine_lazy_rela()
726 elf_machine_rela (map, scope, reloc, sym, version, reloc_addr, in elf_machine_lazy_rela()