Lines Matching refs:e_phnum
262 if (ehdr->e_phnum > 0)
264 ELF_CHECK (gelf_newphdr (outelf, ehdr->e_phnum),
268 for (uint_fast16_t i = 0; i < ehdr->e_phnum; ++i)
979 phnum = ehdr.e32.e_phnum;
984 phnum = ehdr.e64.e_phnum;
1817 if (stripped_ehdr->e_phnum > 0)
1818 ELF_CHECK (gelf_newphdr (unstripped, stripped_ehdr->e_phnum),
1822 for (uint_fast16_t i = 0; i < stripped_ehdr->e_phnum; ++i)
1861 for (uint_fast16_t i = 0; i < stripped_ehdr->e_phnum; ++i)
1961 || stripped_ehdr.e_phnum != unstripped_ehdr.e_phnum)