Lines Matching refs:map

167 extern int __elf_machine_runtime_setup (struct link_map *map,
171 elf_machine_runtime_setup (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_runtime_setup() argument
174 if (map->l_info[DT_JMPREL] == 0) in elf_machine_runtime_setup()
177 if (map->l_info[DT_PPC(GOT)] == 0) in elf_machine_runtime_setup()
179 return __elf_machine_runtime_setup (map, lazy, profile); in elf_machine_runtime_setup()
182 map->l_info[DT_PPC(GOT)]->d_un.d_ptr += map->l_addr; in elf_machine_runtime_setup()
196 &&_dl_name_match_p (GLRO(dl_profile), map)) in elf_machine_runtime_setup()
197 GL(dl_profile_map) = map; in elf_machine_runtime_setup()
200 got = (Elf32_Addr *) map->l_info[DT_PPC(GOT)]->d_un.d_ptr; in elf_machine_runtime_setup()
203 got[2] = (Elf32_Addr) map; in elf_machine_runtime_setup()
206 plt = (Elf32_Addr *) D_PTR (map, l_info[DT_PLTGOT]); in elf_machine_runtime_setup()
207 num_plt_entries = (map->l_info[DT_PLTRELSZ]->d_un.d_val in elf_machine_runtime_setup()
216 glink += map->l_addr; in elf_machine_runtime_setup()
222 *plt++ += map->l_addr; in elf_machine_runtime_setup()
228 extern Elf32_Addr __elf_machine_fixup_plt (struct link_map *map,
233 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt() argument
238 if (map->l_info[DT_PPC(GOT)] == 0) in elf_machine_fixup_plt()
240 return __elf_machine_fixup_plt (map, reloc_addr, finaladdr); in elf_machine_fixup_plt()
248 elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc, in elf_machine_plt_value() argument
265 extern void __process_machine_rela (struct link_map *map,
276 extern void _dl_reloc_overflow (struct link_map *map,
286 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_rela() argument
300 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela()
312 sym_map = map; in elf_machine_rela()
313 value = map->l_addr; in elf_machine_rela()
317 sym_map = RESOLVE_MAP (map, scope, &sym, version, r_type); in elf_machine_rela()
352 if (map->l_info[DT_PPC(OPT)] in elf_machine_rela()
353 && (map->l_info[DT_PPC(OPT)]->d_un.d_val & PPC_OPT_TLS)) in elf_machine_rela()
365 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela()
367 if (TRY_STATIC_TLS (map, sym_map)) in elf_machine_rela()
387 if (map->l_info[DT_PPC(OPT)] in elf_machine_rela()
388 && (map->l_info[DT_PPC(OPT)]->d_un.d_val & PPC_OPT_TLS)) in elf_machine_rela()
399 assert (HAVE_STATIC_TLS (map, sym_map)); in elf_machine_rela()
401 if (HAVE_STATIC_TLS (map, sym_map)) in elf_machine_rela()
418 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela()
426 RESOLVE_CONFLICT_FIND_MAP (map, reloc_addr); in elf_machine_rela()
428 if (map->l_info[DT_PPC(GOT)] != 0) in elf_machine_rela()
436 __process_machine_rela (map, reloc, sym_map, sym, refsym, in elf_machine_rela()
450 elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], in elf_machine_lazy_rel() argument