/sysdeps/ia64/ |
A D | dl-lookupcfg.h | 33 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref) argument 39 extern void attribute_hidden _dl_unmap (struct link_map *map); 41 #define DL_UNMAP(map) _dl_unmap (map) argument 43 #define DL_DT_FUNCTION_ADDRESS(map, start, attr, addr) \ argument 46 fptr[1] = (map)->l_info[DT_PLTGOT]->d_un.d_ptr; \ 49 #define DL_CALL_DT_INIT(map, start, argc, argv, env) \ argument 52 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 57 #define DL_CALL_DT_FINI(map, start) \ argument 60 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 69 #define DL_FIXUP_MAKE_VALUE(map, addr) \ argument [all …]
|
A D | dl-machine.h | 38 __ia64_init_bootstrap_fdesc_table (struct link_map *map) in __ia64_init_bootstrap_fdesc_table() argument 46 map->l_mach.fptr_table = boot_table; in __ia64_init_bootstrap_fdesc_table() 50 __ia64_init_bootstrap_fdesc_table (map); 325 #define ELF_MACHINE_START_ADDRESS(map, start) \ argument 328 DL_DT_FUNCTION_ADDRESS(map, start, static, addr) \ 406 if (map != &GL(dl_rtld_map)) in elf_machine_rela() 408 value += map->l_addr; in elf_machine_rela() 450 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 455 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() 472 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() [all …]
|
/sysdeps/hppa/ |
A D | dl-lookupcfg.h | 30 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref) argument 36 void attribute_hidden _dl_unmap (struct link_map *map); 38 #define DL_UNMAP(map) _dl_unmap (map) argument 40 #define DL_DT_FUNCTION_ADDRESS(map, start, attr, addr) \ argument 50 fptr[1] = (map)->l_info[DT_PLTGOT]->d_un.d_ptr; \ 55 #define DL_CALL_DT_INIT(map, start, argc, argv, env) \ argument 58 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 63 #define DL_CALL_DT_FINI(map, start) \ argument 66 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 75 #define DL_FIXUP_MAKE_VALUE(map, addr) \ argument [all …]
|
A D | dl-fptr.c | 183 make_fptr_table (struct link_map *map) in ElfW() 193 if (map->l_info[DT_HASH] != NULL) in ElfW() 203 / map->l_info[DT_SYMENT]->d_un.d_val); in ElfW() 217 map->l_mach.fptr_table_len = len; in ElfW() 221 return map->l_mach.fptr_table; in ElfW() 229 ElfW(Addr) *ftab = map->l_mach.fptr_table; in _dl_make_fptr() 235 ftab = make_fptr_table (map); in _dl_make_fptr() 240 if (symidx >= map->l_mach.fptr_table_len) in _dl_make_fptr() 288 _dl_unmap (struct link_map *map) in _dl_unmap() argument 294 _dl_unmap_segments (map); in _dl_unmap() [all …]
|
A D | dl-symaddr.c | 23 _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref) in _dl_symbol_address() argument 26 Elf32_Addr value = SYMBOL_ADDRESS (map, ref, false); in _dl_symbol_address() 31 return (void *)((unsigned long)_dl_make_fptr (map, ref, value) | 2); in _dl_symbol_address()
|
/sysdeps/powerpc/powerpc32/ |
A D | dl-machine.h | 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() 182 map->l_info[DT_PPC(GOT)]->d_un.d_ptr += map->l_addr; in elf_machine_runtime_setup() 197 GL(dl_profile_map) = map; in elf_machine_runtime_setup() 203 got[2] = (Elf32_Addr) map; 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() 312 sym_map = map; in elf_machine_rela() 313 value = map->l_addr; in elf_machine_rela() 352 if (map->l_info[DT_PPC(OPT)] in elf_machine_rela() [all …]
|
/sysdeps/powerpc/powerpc64/ |
A D | dl-machine.h | 336 if (map->l_info[DT_JMPREL]) in elf_machine_runtime_setup() 344 Elf64_Dyn **info = map->l_info; in elf_machine_runtime_setup() 369 GL(dl_profile_map) = map; in elf_machine_runtime_setup() 397 plt[1] = (Elf64_Addr) map; in elf_machine_runtime_setup() 442 if (sym_map != map) in ppc64_local_entry_offset() 446 if (map->l_info[DT_PPC64(OPT)] in ppc64_local_entry_offset() 451 _dl_error_localentry (map, refsym); in ppc64_local_entry_offset() 458 if (map->l_info[DT_PPC64(OPT)] in ppc64_local_entry_offset() 645 if (map != sym_map in resolve_ifunc() 735 if (map->l_info[DT_PPC64(OPT)] in elf_machine_rela() [all …]
|
A D | dl-machine.c | 26 _dl_reloc_overflow (struct link_map *map, in _dl_reloc_overflow() argument 43 strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]); in _dl_reloc_overflow() 49 _dl_signal_error (0, map->l_name, NULL, buffer); in _dl_reloc_overflow() 54 _dl_error_localentry (struct link_map *map, const Elf64_Sym *refsym) in _dl_error_localentry() argument 60 strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]); in _dl_error_localentry() 64 _dl_signal_error (0, map->l_name, NULL, buffer); in _dl_error_localentry()
|
/sysdeps/x86_64/ |
A D | tlsdesc.c | 29 _dl_unmap (struct link_map *map) in _dl_unmap() argument 31 _dl_unmap_segments (map); in _dl_unmap() 38 if (map->l_mach.tlsdesc_table) in _dl_unmap() 39 htab_delete (map->l_mach.tlsdesc_table); in _dl_unmap()
|
A D | dl-machine.h | 276 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 304 if (sym_map != map in elf_machine_rela() 314 map->l_name); in elf_machine_rela() 318 RTLD_PROGNAME, map->l_name, in elf_machine_rela() 400 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 402 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rela() 426 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 507 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 513 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() 556 map->l_mach.plt in elf_machine_lazy_rel() [all …]
|
/sysdeps/i386/ |
A D | tlsdesc.c | 29 _dl_unmap (struct link_map *map) in _dl_unmap() argument 31 _dl_unmap_segments (map); in _dl_unmap() 34 if (map->l_mach.tlsdesc_table) in _dl_unmap() 35 htab_delete (map->l_mach.tlsdesc_table); in _dl_unmap()
|
A D | dl-machine.h | 284 *reloc_addr += map->l_addr; in elf_machine_rel() 306 if (sym_map != map in elf_machine_rel() 316 map->l_name); in elf_machine_rel() 320 RTLD_PROGNAME, map->l_name, in elf_machine_rel() 376 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rel() 378 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rel() 454 value = map->l_addr + *reloc_addr; in elf_machine_rel() 539 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 541 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rela() 655 *reloc_addr = (map->l_mach.plt in elf_machine_lazy_rel() [all …]
|
/sysdeps/aarch64/ |
A D | tlsdesc.c | 31 _dl_unmap (struct link_map *map) in _dl_unmap() argument 33 _dl_unmap_segments (map); in _dl_unmap() 36 if (map->l_mach.tlsdesc_table) in _dl_unmap() 37 htab_delete (map->l_mach.tlsdesc_table); in _dl_unmap()
|
A D | dl-lookupcfg.h | 25 extern void _dl_unmap (struct link_map *map); 27 #define DL_UNMAP(map) _dl_unmap (map) argument
|
A D | dl-machine.h | 224 elf_machine_plt_value (struct link_map *map, in elf_machine_plt_value() argument 250 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 312 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 314 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rela() 351 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 358 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 365 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() 398 (const void *)D_PTR (map, l_info[DT_SYMTAB]); in elf_machine_lazy_rel() 416 if (map->l_mach.plt == 0) in elf_machine_lazy_rel() 419 *reloc_addr = map->l_mach.plt; in elf_machine_lazy_rel() [all …]
|
/sysdeps/arm/ |
A D | tlsdesc.c | 29 _dl_unmap (struct link_map *map) in _dl_unmap() argument 31 _dl_unmap_segments (map); in _dl_unmap() 38 if (map->l_mach.tlsdesc_table) in _dl_unmap() 39 htab_delete (map->l_mach.tlsdesc_table); in _dl_unmap()
|
A D | dl-machine.h | 353 *reloc_addr += map->l_addr; in elf_machine_rel() 419 if (map == &GL(dl_rtld_map)) in elf_machine_rel() 448 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rel() 450 if (!TRY_STATIC_TLS (map, sym_map)) in elf_machine_rel() 489 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rel() 494 value = map->l_addr + *reloc_addr; in elf_machine_rel() 501 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rel() 582 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 595 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() 636 *reloc_addr = map->l_mach.plt; in elf_machine_lazy_rel() [all …]
|
A D | dl-lookupcfg.h | 25 extern void _dl_unmap (struct link_map *map); 27 #define DL_UNMAP(map) _dl_unmap (map) argument
|
/sysdeps/alpha/ |
A D | dl-machine.h | 91 if (map->l_info[DT_JMPREL] == 0 || !lazy) in elf_machine_runtime_setup() 95 secureplt = map->l_info[DT_ALPHA(PLTRO)] != 0; in elf_machine_runtime_setup() 123 GL(dl_profile_map) = map; in elf_machine_runtime_setup() 128 pg->link = map; in elf_machine_runtime_setup() 273 if (map->l_info[DT_ALPHA(PLTRO)]) in elf_machine_fixup_plt() 391 if (map != &GL(dl_rtld_map)) in elf_machine_rela() 400 reloc_addr_val += map->l_addr; in elf_machine_rela() 434 RESOLVE_CONFLICT_FIND_MAP (map, reloc_addr); in elf_machine_rela() 477 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 483 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() [all …]
|
/sysdeps/mips/ |
A D | dl-machine.h | 208 got[i++] += map->l_addr; \ 223 *got += map->l_addr; \ 227 *got += map->l_addr; \ 583 if (map != &GL(dl_rtld_map)) in elf_machine_reloc() 602 if (map != &GL(dl_rtld_map)) in elf_machine_reloc() 604 reloc_value += map->l_addr; in elf_machine_reloc() 745 *reloc_addr = map->l_mach.plt; in elf_machine_lazy_rel() 798 if (map != &GL(dl_rtld_map)) in elf_machine_got_rel() 809 got[i++] += map->l_addr; in elf_machine_got_rel() 845 *got += map->l_addr; in elf_machine_got_rel() [all …]
|
/sysdeps/pthread/ |
A D | tst-robust8.c | 42 static pthread_mutex_t *map; variable 64 e = pthread_mutex_lock (&map[r]); in tf() 74 e = pthread_mutex_timedlock (&map[r], &before); in tf() 84 e = pthread_mutex_trylock (&map[r]); in tf() 95 pthread_mutex_consistent (&map[r]); in tf() 102 int e = pthread_mutex_unlock (&map[r]); in tf() 154 if (map == MAP_FAILED) in do_test() 188 int e = pthread_mutex_init (&map[n], &ma); in do_test() 234 int e = pthread_mutex_lock (&map[n]); in do_test() 243 if (pthread_mutex_unlock (&map[n]) != 0) in do_test() [all …]
|
/sysdeps/x86/ |
A D | dl-lookupcfg.h | 29 extern void _dl_unmap (struct link_map *map) attribute_hidden; 31 #define DL_UNMAP(map) _dl_unmap (map) argument
|
/sysdeps/generic/ |
A D | dl-protected.h | 26 const struct link_map *map, in _dl_check_protected_symbol() argument 33 && (map->l_1_needed in _dl_check_protected_symbol() 40 _dl_signal_error (0, map->l_name, undef_name, in _dl_check_protected_symbol() 49 _dl_signal_error (0, map->l_name, undef_name, in _dl_check_protected_symbol()
|
/sysdeps/sh/ |
A D | dl-machine.h | 235 elf_machine_fixup_plt (struct link_map *map, lookup_t t, in elf_machine_fixup_plt() argument 303 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 308 value += map->l_addr; in elf_machine_rela() 339 strtab = (const char *) D_PTR (map, l_info[DT_STRTAB]); in elf_machine_rela() 386 CHECK_STATIC_TLS (map, sym_map); in elf_machine_rela() 404 if (map == &GL(dl_rtld_map)) in elf_machine_rela() 422 _dl_reloc_bad_type (map, r_type, 0); in elf_machine_rela() 457 if (__builtin_expect (map->l_mach.plt, 0) == 0) in elf_machine_lazy_rel() 461 map->l_mach.plt in elf_machine_lazy_rel() 462 + (((Elf32_Addr) reloc_addr) - map->l_mach.gotplt) * 7; in elf_machine_lazy_rel() [all …]
|
/sysdeps/unix/sysv/linux/ |
A D | dl-vdso.h | 40 struct link_map *map = GLRO (dl_sysinfo_map); in dl_vdso_vsym() local 41 if (map == NULL) in dl_vdso_vsym() 52 lookup_t result = GLRO (dl_lookup_symbol_x) (name, map, &ref, in dl_vdso_vsym() 53 map->l_local_scope, in dl_vdso_vsym()
|