/glibc-2.36/elf/ |
D | do-rel.h | 32 # define DO_ELF_MACHINE_REL_RELATIVE(map, l_addr, relative) \ argument 33 elf_machine_rel_relative (l_addr, relative, \ 34 (void *) (l_addr + relative->r_offset)) 51 ElfW(Addr) l_addr = map->l_addr; 57 DO_ELF_MACHINE_REL_RELATIVE (map, l_addr, relative); 65 void *const r_addr_arg = (void *) (l_addr + r->r_offset); 93 elf_machine_lazy_rel (map, scope, l_addr, r, skip_ifunc); 99 elf_machine_lazy_rel (map, scope, l_addr, r2, skip_ifunc); 121 if (l_addr != 0) 124 DO_ELF_MACHINE_REL_RELATIVE (map, l_addr, relative); [all …]
|
D | setup-vdso.h | 50 if (! l->l_addr) in setup_vdso() 51 l->l_addr = ph->p_vaddr; in setup_vdso() 63 l->l_addr = l->l_map_start - l->l_addr; in setup_vdso() 64 l->l_map_end += l->l_addr; in setup_vdso() 65 l->l_text_end += l->l_addr; in setup_vdso() 66 l->l_ld = (void *) ((ElfW(Addr)) l->l_ld + l->l_addr); in setup_vdso() 109 GLRO(dl_sysinfo) = GLRO(dl_sysinfo_dso)->e_entry + l->l_addr; in setup_vdso()
|
D | dynamic-link.h | 40 elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc, 50 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, 56 ElfW(Addr) l_addr, const ElfW(Rel) *reloc, 61 ElfW(Addr) l_addr, const ElfW(Rela) *reloc, 155 ElfW(Addr) l_addr = (map)->l_addr, *where = 0; \ 167 where = (ElfW(Addr) *)(l_addr + entry); \ 168 *where++ += l_addr; \ 174 where[i] += l_addr; \
|
D | tst-_dl_addr_inside_object.c | 36 map.l_addr = 0x0; in do_test() 194 map.l_addr = 0x0 - 0x1; in do_test() 195 map.l_addr = map.l_addr / 2; in do_test() 199 header.p_memsz = 0x0 - 0x1 - map.l_addr; in do_test()
|
D | dl-map-segments.h | 106 l->l_addr = l->l_map_start - c->mapstart; in _dl_map_segments() 119 (__mprotect ((caddr_t) (l->l_addr + c->mapend), in _dl_map_segments() 131 l->l_map_start = c->mapstart + l->l_addr; in _dl_map_segments() 139 && (__mmap ((void *) (l->l_addr + c->mapstart), in _dl_map_segments() 155 zero = l->l_addr + c->dataend; in _dl_map_segments() 156 zeroend = l->l_addr + c->allocend; in _dl_map_segments()
|
/glibc-2.36/sysdeps/i386/ |
D | dl-machine.h | 84 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 258 *reloc_addr += map->l_addr; in elf_machine_rel() 427 value = map->l_addr + *reloc_addr; in elf_machine_rel() 452 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 573 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 590 elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc, in elf_machine_rel_relative() argument 595 *reloc_addr += l_addr; in elf_machine_rel_relative() 601 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 605 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 612 Elf32_Addr l_addr, const Elf32_Rel *reloc, in elf_machine_lazy_rel() argument [all …]
|
/glibc-2.36/sysdeps/ia64/ |
D | dl-machine.h | 119 (l->l_info[DT_IA_64 (PLT_RESERVE)]->d_un.d_ptr + l->l_addr)); in elf_machine_runtime_setup() 352 value = *reloc_addr + map->l_addr; in elf_machine_rela() 389 value -= sym_map->l_addr; in elf_machine_rela() 396 value += sym_map->l_tls_offset - sym_map->l_addr; in elf_machine_rela() 425 elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc, in elf_machine_rela_relative() argument 432 *reloc_addr += l_addr; in elf_machine_rela_relative() 439 Elf64_Addr l_addr, const Elf64_Rela *reloc, in elf_machine_lazy_rel() argument 442 Elf64_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 447 reloc_addr[0] += l_addr; in elf_machine_lazy_rel() 448 reloc_addr[1] += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/riscv/ |
D | dl-machine.h | 157 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_rela_relative() argument 162 ElfW(Addr) value = l_addr + reloc->r_addend; in elf_machine_rela_relative() 196 elf_machine_rela_relative (map->l_addr, reloc, addr_field); in elf_machine_rela() 235 value += (ElfW(Addr)) sym_map->l_tls_initimage - sym_map->l_addr; in elf_machine_rela() 256 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 275 ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_lazy_rel() 278 ElfW(Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 286 if (l_addr) in elf_machine_lazy_rel() 287 *reloc_addr += l_addr; in elf_machine_lazy_rel() 294 ElfW(Addr) value = map->l_addr + reloc->r_addend; in elf_machine_lazy_rel() [all …]
|
/glibc-2.36/sysdeps/sh/ |
D | dl-machine.h | 93 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 289 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 294 value += map->l_addr; in elf_machine_rela() 416 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 422 value = l_addr + reloc->r_addend; in elf_machine_rela_relative() 426 value += l_addr; in elf_machine_rela_relative() 436 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument 439 Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 444 *reloc_addr += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/loongarch/ |
D | dl-machine.h | 218 *addr_field = map->l_addr + reloc->r_addend; in elf_machine_rela() 222 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 237 elf_machine_rela_relative (ElfW (Addr) l_addr, const ElfW (Rela) *reloc, in elf_machine_rela_relative() argument 240 *(ElfW (Addr) *) reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 245 ElfW (Addr) l_addr, in elf_machine_lazy_rel() 248 ElfW (Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 256 if (l_addr) in elf_machine_lazy_rel() 257 *reloc_addr += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/arm/ |
D | dl-machine.h | 82 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 297 *reloc_addr += map->l_addr; in elf_machine_rel() 437 value = map->l_addr + *reloc_addr; in elf_machine_rel() 462 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 527 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 543 elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc, in elf_machine_rel_relative() argument 547 *reloc_addr += l_addr; in elf_machine_rel_relative() 553 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 557 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 564 Elf32_Addr l_addr, const Elf32_Rel *reloc, in elf_machine_lazy_rel() argument [all …]
|
/glibc-2.36/sysdeps/microblaze/ |
D | dl-machine.h | 214 PUT_REL_64 (reloc_addr, map->l_addr + reloc->r_addend); in elf_machine_rela() 216 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 277 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 281 PUT_REL_64 (reloc_addr, l_addr + reloc->r_addend); in elf_machine_rela_relative() 286 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument 289 Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 291 *reloc_addr += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/s390/s390-32/ |
D | dl-machine.h | 113 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 288 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 312 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 423 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 427 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 433 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument 436 Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 442 *reloc_addr += l_addr; in elf_machine_lazy_rel() 448 Elf32_Addr value = map->l_addr + reloc->r_addend; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/s390/s390-64/ |
D | dl-machine.h | 102 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 265 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 290 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 407 elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc, in elf_machine_rela_relative() argument 411 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 417 Elf64_Addr l_addr, const Elf64_Rela *reloc, in elf_machine_lazy_rel() argument 420 Elf64_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 426 *reloc_addr += l_addr; in elf_machine_lazy_rel() 432 Elf64_Addr value = map->l_addr + reloc->r_addend; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/x86_64/ |
D | dl-machine.h | 84 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 254 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 261 *(Elf64_Addr *) reloc_addr = (Elf64_Addr) map->l_addr + reloc->r_addend; in elf_machine_rela() 460 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 475 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_rela_relative() argument 483 *(Elf64_Addr *) reloc_addr = (Elf64_Addr) l_addr + reloc->r_addend; in elf_machine_rela_relative() 488 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 495 ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_lazy_rel() 498 ElfW(Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 506 *reloc_addr += l_addr; in elf_machine_lazy_rel() [all …]
|
/glibc-2.36/sysdeps/arc/ |
D | dl-machine.h | 137 ElfW(Addr) *got = (ElfW(Addr) *) (plt_base[5] + l->l_addr); in elf_machine_runtime_setup() 229 *reloc_addr += map->l_addr; in elf_machine_rela() 308 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_rela_relative() argument 312 *reloc_addr += l_addr; in elf_machine_rela_relative() 318 ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_lazy_rel() 321 ElfW(Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 325 *reloc_addr += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/aarch64/ |
D | dl-machine.h | 76 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 176 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 280 value = map->l_addr + reloc->r_addend; in elf_machine_rela() 296 elf_machine_rela_relative (ElfW(Addr) l_addr, in elf_machine_rela_relative() argument 301 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 307 ElfW(Addr) l_addr, in elf_machine_lazy_rel() 311 ElfW(Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 340 *reloc_addr += l_addr; in elf_machine_lazy_rel() 365 ElfW(Addr) value = map->l_addr + reloc->r_addend; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/mips/ |
D | dl-machine.h | 178 if (__builtin_expect (map->l_addr == 0, 1)) \ 189 got[i++] += map->l_addr; \ 204 *got += map->l_addr; \ 208 *got += map->l_addr; \ 558 reloc_value += map->l_addr; in elf_machine_reloc() 676 elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc, in elf_machine_rel_relative() argument 685 ElfW(Addr) l_addr, const ElfW(Rel) *reloc, in elf_machine_lazy_rel() 688 ElfW(Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 717 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_rela_relative() argument 760 if (__builtin_expect (map->l_addr != 0, 0)) in elf_machine_got_rel() [all …]
|
/glibc-2.36/sysdeps/hppa/ |
D | dl-machine.h | 171 Elf32_Addr l_addr, iplt, jmprel, end_jmprel, r_type, r_sym; in elf_machine_runtime_setup() local 193 l_addr = l->l_addr; in elf_machine_runtime_setup() 213 got = (Elf32_Addr *) (reloc->r_offset + l_addr + PLT_ENTRY_SIZE + SIZEOF_PLT_STUB); in elf_machine_runtime_setup() 295 fptr = (struct fdesc *) (reloc->r_offset + l_addr); in elf_machine_runtime_setup() 310 fptr->ip = reloc->r_addend + l_addr; in elf_machine_runtime_setup() 326 fptr = (struct fdesc *) (reloc->r_offset + l_addr); in elf_machine_runtime_setup() 720 elf_machine_rela_relative (Elf32_Addr l_addr, in elf_machine_rela_relative() argument 730 value = l_addr + reloc->r_addend; in elf_machine_rela_relative() 774 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument
|
D | dl-runtime.c | 31 Elf32_Addr l_addr, iplt, jmprel, end_jmprel, r_type; in _dl_fix_reloc_arg() local 34 l_addr = l->l_addr; in _dl_fix_reloc_arg() 45 && fptr == (struct fdesc *) (reloc->r_offset + l_addr)) in _dl_fix_reloc_arg()
|
/glibc-2.36/sysdeps/powerpc/powerpc32/ |
D | dl-machine.h | 182 map->l_info[DT_PPC(GOT)]->d_un.d_ptr += map->l_addr; 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() 299 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 312 value = map->l_addr; in elf_machine_rela() 433 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 437 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 442 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument
|
/glibc-2.36/sysdeps/nios2/ |
D | dl-machine.h | 215 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 288 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_rela_relative() argument 292 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 297 ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_lazy_rel() 300 Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 302 *reloc_addr += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/csky/ |
D | dl-machine.h | 79 l->l_mach.plt = got[1] + l->l_addr; in elf_machine_runtime_setup() 212 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 319 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 323 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 328 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument 331 Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 339 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/m68k/ |
D | dl-machine.h | 218 *reloc_addr = map->l_addr + reloc->r_addend; in elf_machine_rela() 299 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_rela_relative() argument 303 *reloc_addr = l_addr + reloc->r_addend; in elf_machine_rela_relative() 308 Elf32_Addr l_addr, const Elf32_Rela *reloc, in elf_machine_lazy_rel() argument 311 Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel() 313 *reloc_addr += l_addr; in elf_machine_lazy_rel()
|
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/powerpc64/ |
D | ldsodefs.h | 32 && l->l_addr + sym->st_value >= (ElfW(Addr)) l->l_ld in _dl_ppc64_is_opd_sym() 33 && l->l_addr + sym->st_value < l->l_map_end in _dl_ppc64_is_opd_sym() 41 ElfW(Addr) value = l->l_addr + sym->st_value; in _dl_ppc64_addr_sym_match() 62 ElfW(Addr) matchvalue = l->l_addr + matchsym->st_value; in _dl_ppc64_addr_sym_match()
|