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