Home
last modified time | relevance | path

Searched refs:p_vaddr (Results 1 – 25 of 26) sorted by relevance

12

/glibc-2.36/elf/
Dsetup-vdso.h44 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()
Dtst-_dl_addr_inside_object.c38 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()
Dpldd-xx.c117 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()
Dreadelflib.c223 && 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()
Ddl-load.c869 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 …]
Dtst-relro-symbols.py42 return phdr.p_vaddr, phdr.p_vaddr + phdr.p_memsz
Ddl-reloc.c273 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()
Ddl-addr-obj.c71 && reladdr - l->l_phdr[n].p_vaddr < l->l_phdr[n].p_memsz) in _dl_addr_inside_object()
Drtld.c1155 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()
Ddl-profile.c210 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()
Ddl-find_object.h108 (void *) (ph->p_vaddr + l->l_addr)); in _dl_find_object_from_map()
Ddl-support.c336 _dl_main_map.l_relro_addr = ph->p_vaddr; in _dl_non_dynamic_init()
Ddl-find_object.c495 = ph->p_vaddr + main_map->l_addr; in rtld_hidden_def()
Dsprof.c453 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()
Delf.h688 Elf32_Addr p_vaddr; /* Segment virtual address */ member
701 Elf64_Addr p_vaddr; /* Segment virtual address */ member
/glibc-2.36/scripts/
Dtst-elf-edit.py100 self.p_vaddr = data[2]
110 self.p_vaddr = data[3]
121 self.p_vaddr,
132 self.p_vaddr,
/glibc-2.36/sysdeps/arm/
Dfind_exidx.c50 _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/
Ddl-bti.c40 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/
Dunwind-dw2-fde-glibc.c113 _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/
Ddl-trampoline.c62 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()
Ddl-machine-reject-phdr.h67 mips_abiflags = (Elf_MIPS_ABIFlags_v0 *) (l->l_addr + ph->p_vaddr); in cached_fpabi_reject_phdr_p()
/glibc-2.36/dlfcn/
Dtst-dlinfo-phdr.c90 TEST_COMPARE ((ElfW(Addr)) l->l_ld, l->l_addr + phdr[i].p_vaddr); in do_test()
/glibc-2.36/sysdeps/x86/
Ddl-prop.h212 const ElfW(Nhdr) *note = (const void *) (ph->p_vaddr + l->l_addr); in _dl_process_pt_note()
/glibc-2.36/csu/
Dlibc-tls.c128 initimage = (void *) phdr->p_vaddr + main_map->l_addr; in __libc_setup_tls()
/glibc-2.36/ChangeLog.old/
DChangeLog.132000 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

12