/glibc-2.36/elf/ |
D | setup-vdso.h | 44 l->l_ld = (void *) ph->p_vaddr; in setup_vdso() 51 l->l_addr = ph->p_vaddr; in setup_vdso() 52 if (ph->p_vaddr + ph->p_memsz >= l->l_map_end) in setup_vdso() 53 l->l_map_end = ph->p_vaddr + ph->p_memsz; in setup_vdso() 55 && ph->p_vaddr + ph->p_memsz >= l->l_text_end) in setup_vdso() 56 l->l_text_end = ph->p_vaddr + ph->p_memsz; in setup_vdso()
|
D | tst-_dl_addr_inside_object.c | 38 header.p_vaddr = 0x2000; in do_test() 139 header.p_vaddr = 0x0 - 0x1; in do_test() 157 header.p_vaddr = 0x0; in do_test() 175 header.p_vaddr = 0x0; in do_test() 198 header.p_vaddr = 0x0; in do_test()
|
D | pldd-xx.c | 117 offset = phdr - p[i].p_vaddr; in E() 127 if (pread (memfd, dyn, p[i].p_filesz, offset + p[i].p_vaddr) in E() 134 EW(Addr) off = offset + p[i].p_vaddr + sizeof (EW(Dyn)) * j; in E() 157 if (pread (memfd, interp, p[i].p_filesz, offset + p[i].p_vaddr) in E()
|
D | readelflib.c | 223 && dyn_entry->d_un.d_val >= segment->p_vaddr in process_elf_file() 224 && (dyn_entry->d_un.d_val - segment->p_vaddr in process_elf_file() 227 loadoff = segment->p_vaddr - segment->p_offset; in process_elf_file()
|
D | dl-load.c | 869 const ElfW(Nhdr) *note = (const void *) (ph->p_vaddr + l->l_addr); in _dl_process_pt_gnu_property() 1124 l->l_ld = (void *) ph->p_vaddr; in _dl_map_object_from_fd() 1131 l->l_phdr = (void *) ph->p_vaddr; in _dl_map_object_from_fd() 1137 if (__glibc_unlikely (((ph->p_vaddr - ph->p_offset) in _dl_map_object_from_fd() 1146 c->mapstart = ALIGN_DOWN (ph->p_vaddr, GLRO(dl_pagesize)); in _dl_map_object_from_fd() 1147 c->mapend = ALIGN_UP (ph->p_vaddr + ph->p_filesz, GLRO(dl_pagesize)); in _dl_map_object_from_fd() 1148 c->dataend = ph->p_vaddr + ph->p_filesz; in _dl_map_object_from_fd() 1149 c->allocend = ph->p_vaddr + ph->p_memsz; in _dl_map_object_from_fd() 1195 l->l_tls_firstbyte_offset = ph->p_vaddr & (ph->p_align - 1); in _dl_map_object_from_fd() 1199 l->l_tls_initimage = (void *) ph->p_vaddr; in _dl_map_object_from_fd() [all …]
|
D | tst-relro-symbols.py | 42 return phdr.p_vaddr, phdr.p_vaddr + phdr.p_memsz
|
D | dl-reloc.c | 273 newp->len = ALIGN_UP (ph->p_vaddr + ph->p_memsz, GLRO(dl_pagesize)) in _dl_relocate_object() 274 - ALIGN_DOWN (ph->p_vaddr, GLRO(dl_pagesize)); in _dl_relocate_object() 275 newp->start = PTR_ALIGN_DOWN (ph->p_vaddr, GLRO(dl_pagesize)) in _dl_relocate_object()
|
D | dl-addr-obj.c | 71 && reladdr - l->l_phdr[n].p_vaddr < l->l_phdr[n].p_memsz) in _dl_addr_inside_object()
|
D | rtld.c | 1155 main_map->l_addr = (ElfW(Addr)) phdr - ph->p_vaddr; in rtld_setup_main_map() 1160 main_map->l_ld = (void *) main_map->l_addr + ph->p_vaddr; in rtld_setup_main_map() 1171 + ph->p_vaddr); in rtld_setup_main_map() 1207 + (ph->p_vaddr & ~(GLRO(dl_pagesize) - 1))); in rtld_setup_main_map() 1216 allocend = main_map->l_addr + ph->p_vaddr + ph->p_memsz; in rtld_setup_main_map() 1241 main_map->l_tls_firstbyte_offset = (ph->p_vaddr in rtld_setup_main_map() 1244 main_map->l_tls_initimage = (void *) ph->p_vaddr; in rtld_setup_main_map() 1256 main_map->l_relro_addr = ph->p_vaddr; in rtld_setup_main_map() 1788 GL(dl_rtld_map).l_relro_addr = rtld_phdr[cnt].p_vaddr; in dl_main()
|
D | dl-profile.c | 210 ElfW(Addr) start = (ph->p_vaddr & ~(GLRO(dl_pagesize) - 1)); in _dl_start_profile() 211 ElfW(Addr) end = ((ph->p_vaddr + ph->p_memsz + GLRO(dl_pagesize) - 1) in _dl_start_profile()
|
D | dl-find_object.h | 108 (void *) (ph->p_vaddr + l->l_addr)); in _dl_find_object_from_map()
|
D | dl-support.c | 336 _dl_main_map.l_relro_addr = ph->p_vaddr; in _dl_non_dynamic_init()
|
D | dl-find_object.c | 495 = ph->p_vaddr + main_map->l_addr; in rtld_hidden_def()
|
D | sprof.c | 453 ElfW(Addr) start = (ph->p_vaddr & ~(pagesize - 1)); in load_shobj() 454 ElfW(Addr) end = ((ph->p_vaddr + ph->p_memsz + pagesize - 1) in load_shobj()
|
D | elf.h | 688 Elf32_Addr p_vaddr; /* Segment virtual address */ member 701 Elf64_Addr p_vaddr; /* Segment virtual address */ member
|
/glibc-2.36/scripts/ |
D | tst-elf-edit.py | 100 self.p_vaddr = data[2] 110 self.p_vaddr = data[3] 121 self.p_vaddr, 132 self.p_vaddr,
|
/glibc-2.36/sysdeps/arm/ |
D | find_exidx.c | 50 _Unwind_Ptr vaddr = phdr->p_vaddr + load_base; in find_exidx_callback() 56 data->exidx_start = (_Unwind_Ptr) (phdr->p_vaddr + load_base); in find_exidx_callback()
|
/glibc-2.36/sysdeps/aarch64/ |
D | dl-bti.c | 40 size_t vstart = ALIGN_DOWN (phdr->p_vaddr, pagesz); in _dl_bti_protect() 41 size_t vend = ALIGN_UP (phdr->p_vaddr + phdr->p_filesz, pagesz); in _dl_bti_protect()
|
/glibc-2.36/sysdeps/generic/ |
D | unwind-dw2-fde-glibc.c | 113 _Unwind_Ptr vaddr = phdr->p_vaddr + load_base; in _Unwind_IteratePhdrCallback() 127 (p_eh_frame_hdr->p_vaddr + load_base); in _Unwind_IteratePhdrCallback() 138 ElfW(Dyn) *dyn = (ElfW(Dyn) *)(p_dynamic->p_vaddr + load_base); in _Unwind_IteratePhdrCallback()
|
/glibc-2.36/sysdeps/mips/ |
D | dl-trampoline.c | 62 base = p[this].p_vaddr + l->l_addr; in elf_machine_runtime_link_map() 85 base = p[this].p_vaddr + l->l_addr; in elf_machine_runtime_link_map()
|
D | dl-machine-reject-phdr.h | 67 mips_abiflags = (Elf_MIPS_ABIFlags_v0 *) (l->l_addr + ph->p_vaddr); in cached_fpabi_reject_phdr_p()
|
/glibc-2.36/dlfcn/ |
D | tst-dlinfo-phdr.c | 90 TEST_COMPARE ((ElfW(Addr)) l->l_ld, l->l_addr + phdr[i].p_vaddr); in do_test()
|
/glibc-2.36/sysdeps/x86/ |
D | dl-prop.h | 212 const ElfW(Nhdr) *note = (const void *) (ph->p_vaddr + l->l_addr); in _dl_process_pt_note()
|
/glibc-2.36/csu/ |
D | libc-tls.c | 128 initimage = (void *) phdr->p_vaddr + main_map->l_addr; in __libc_setup_tls()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.13 | 2000 p_vaddr/p_offset when computing LOADADDR. 2235 PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr; 4113 actually iterate over the elements. Fix typo p_type -> p_vaddr. 4156 * elf/dl-load.c (_dl_map_object_from_fd): Use p_vaddr, not p_offset, 9918 * elf/rtld.c (dl_main): Use p_vaddr as address of TLS
|