Lines Matching refs:sym_map

269       struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version,  in elf_machine_rel()  local
271 Elf32_Addr value = SYMBOL_ADDRESS (sym_map, sym, true); in elf_machine_rel()
279 if (sym_map != map in elf_machine_rel()
280 && !sym_map->l_relocated) in elf_machine_rel()
284 if (sym_map->l_type == lt_executable) in elf_machine_rel()
294 sym_map->l_name, in elf_machine_rel()
324 if (sym_map != NULL) in elf_machine_rel()
325 *reloc_addr = sym_map->l_tls_modid; in elf_machine_rel()
349 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rel()
351 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rel()
354 (sym_map, sym->st_value + (ElfW(Word))td->arg); in elf_machine_rel()
361 td->arg = (void*)(sym->st_value - sym_map->l_tls_offset in elf_machine_rel()
379 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rel()
380 *reloc_addr += sym_map->l_tls_offset - sym->st_value; in elf_machine_rel()
394 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rel()
395 *reloc_addr += sym->st_value - sym_map->l_tls_offset; in elf_machine_rel()
456 struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, in elf_machine_rela() local
458 Elf32_Addr value = SYMBOL_ADDRESS (sym_map, sym, true); in elf_machine_rela()
485 if (sym_map != NULL) in elf_machine_rela()
486 *reloc_addr = sym_map->l_tls_modid; in elf_machine_rela()
509 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela()
511 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rela()
514 (sym_map, sym->st_value + reloc->r_addend); in elf_machine_rela()
521 td->arg = (void*)(sym->st_value - sym_map->l_tls_offset in elf_machine_rela()
536 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela()
537 *reloc_addr = sym_map->l_tls_offset - sym->st_value in elf_machine_rela()
548 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela()
549 *reloc_addr = sym->st_value - sym_map->l_tls_offset in elf_machine_rela()