Lines Matching refs:sym_map

441 ppc64_local_entry_offset (struct link_map *map, lookup_t sym_map,  in ppc64_local_entry_offset()  argument
446 if (sym_map != map) in ppc64_local_entry_offset()
480 elf_machine_fixup_plt (struct link_map *map, lookup_t sym_map, in elf_machine_fixup_plt() argument
497 if (sym_map == NULL) in elf_machine_fixup_plt()
514 if (finaladdr != 0 && map != sym_map && !sym_map->l_relocated in elf_machine_fixup_plt()
517 && sym_map != &GL(dl_rtld_map) in elf_machine_fixup_plt()
520 offset = sym_map->l_addr; in elf_machine_fixup_plt()
537 finaladdr += ppc64_local_entry_offset (map, sym_map, refsym, sym); in elf_machine_fixup_plt()
615 struct link_map *sym_map, in elf_machine_tprel() argument
620 if (sym_map) in elf_machine_tprel()
622 CHECK_STATIC_TLS (map, sym_map); in elf_machine_tprel()
624 return TLS_TPREL_VALUE (sym_map, sym, reloc); in elf_machine_tprel()
634 const struct link_map *map, const struct link_map *sym_map) in resolve_ifunc() argument
639 if (map != sym_map in resolve_ifunc()
642 && sym_map != &GL(dl_rtld_map) in resolve_ifunc()
644 && !sym_map->l_relocated) in resolve_ifunc()
647 opd.fd_func = func->fd_func + sym_map->l_addr; in resolve_ifunc()
648 opd.fd_toc = func->fd_toc + sym_map->l_addr; in resolve_ifunc()
689 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, r_type); in elf_machine_rela() local
690 Elf64_Addr value = SYMBOL_ADDRESS (sym_map, sym, true) + reloc->r_addend; in elf_machine_rela()
696 value = resolve_ifunc (value, map, sym_map); in elf_machine_rela()
709 value = resolve_ifunc (value, map, sym_map); in elf_machine_rela()
715 value = resolve_ifunc (value, map, sym_map); in elf_machine_rela()
718 elf_machine_fixup_plt (map, sym_map, refsym, sym, in elf_machine_rela()
728 reloc_addr[1] = (sym_map->l_tls_offset - TLS_TP_OFFSET in elf_machine_rela()
732 if (sym_map != NULL) in elf_machine_rela()
735 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela()
737 if (TRY_STATIC_TLS (map, sym_map)) in elf_machine_rela()
742 reloc_addr[1] = (sym_map->l_tls_offset - TLS_TP_OFFSET in elf_machine_rela()
755 if (sym_map != NULL) in elf_machine_rela()
756 *reloc_addr = sym_map->l_tls_modid; in elf_machine_rela()
765 *reloc_addr = TLS_TPREL_VALUE (sym_map, sym, reloc); in elf_machine_rela()
768 if (sym_map != NULL) in elf_machine_rela()
772 assert (HAVE_STATIC_TLS (map, sym_map)); in elf_machine_rela()
774 if (HAVE_STATIC_TLS (map, sym_map)) in elf_machine_rela()
777 *reloc_addr = TLS_TPREL_VALUE (sym_map, sym, reloc); in elf_machine_rela()
786 if (sym_map != NULL) in elf_machine_rela()
792 *reloc_addr = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
796 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
803 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
810 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
817 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
822 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
829 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
834 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
841 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
846 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
851 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
856 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()
861 value = elf_machine_tprel (map, sym_map, sym, reloc); in elf_machine_rela()