Lines Matching refs:e_phnum
247 dst->e_phnum = H_GET_16 (abfd, src->e_phnum); in elf_swap_ehdr_in()
277 H_PUT_16 (abfd, src->e_phnum, dst->e_phnum); in elf_swap_ehdr_out()
624 if (i_ehdrp->e_phnum > 0) in elf_object_p()
817 if (i_ehdrp->e_phnum == 0) in elf_object_p()
824 amt = i_ehdrp->e_phnum * sizeof (Elf_Internal_Phdr); in elf_object_p()
831 for (i = 0; i < i_ehdrp->e_phnum; i++, i_phdr++) in elf_object_p()
1549 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum); in elf_debug_file()
1638 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
1644 x_phdrs = bfd_malloc (i_ehdr.e_phnum * (sizeof *x_phdrs + sizeof *i_phdrs)); in NAME()
1651 i_ehdr.e_phnum * sizeof x_phdrs[0]); in NAME()
1659 i_phdrs = (Elf_Internal_Phdr *) &x_phdrs[i_ehdr.e_phnum]; in NAME()
1664 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1716 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()