Lines Matching refs:phdr
139 GElf_Phdr *phdr = gelf_getphdr (elf, ndx, &phdr_mem); in dwfl_report_core_segments() local
140 if (unlikely (phdr == NULL)) in dwfl_report_core_segments()
145 switch (phdr->p_type) in dwfl_report_core_segments()
148 result = dwfl_report_segment (dwfl, ndx, phdr, 0, NULL); in dwfl_report_core_segments()
154 *notes = *phdr; in dwfl_report_core_segments()
280 #define more(size) do_more (size, &phdr, align, elf, start, &ndx, &end, &end_vaddr)
302 GElf_Phdr phdr; in dwfl_elf_phdr_memory_callback() local
305 if (unlikely (gelf_getphdr (elf, ndx++, &phdr) == NULL)) in dwfl_elf_phdr_memory_callback()
307 while (phdr.p_type != PT_LOAD in dwfl_elf_phdr_memory_callback()
308 || ((phdr.p_vaddr + phdr.p_memsz + align - 1) & -align) <= vaddr); in dwfl_elf_phdr_memory_callback()
310 GElf_Off start = vaddr - phdr.p_vaddr + phdr.p_offset; in dwfl_elf_phdr_memory_callback()
314 update_end (&phdr, align, &end, &end_vaddr); in dwfl_elf_phdr_memory_callback()
435 GElf_Phdr *phdr = gelf_getphdr (elf, i, &phdr_mem); in __libdwfl_dynamic_vaddr_get() local
436 if (unlikely (phdr == NULL)) in __libdwfl_dynamic_vaddr_get()
438 if (phdr->p_type == PT_DYNAMIC) in __libdwfl_dynamic_vaddr_get()
440 *vaddrp = phdr->p_vaddr; in __libdwfl_dynamic_vaddr_get()