Lines Matching refs:i_ehdr
1052 Elf_Internal_Ehdr i_ehdr; in elf_checksum_contents() local
1054 i_ehdr = *i_ehdrp; in elf_checksum_contents()
1055 i_ehdr.e_phoff = i_ehdr.e_shoff = 0; in elf_checksum_contents()
1056 elf_swap_ehdr_out (abfd, &i_ehdr, &x_ehdr); in elf_checksum_contents()
1613 Elf_Internal_Ehdr i_ehdr; /* Elf file header, internal form */ in NAME() local
1669 elf_swap_ehdr_in (templ, &x_ehdr, &i_ehdr); in NAME()
1674 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
1681 bfd_malloc (i_ehdr.e_phnum * (sizeof *x_phdrs + sizeof *i_phdrs)); in NAME()
1684 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (bfd_byte *) x_phdrs, in NAME()
1685 i_ehdr.e_phnum * sizeof x_phdrs[0]); in NAME()
1693 i_phdrs = (Elf_Internal_Phdr *) &x_phdrs[i_ehdr.e_phnum]; in NAME()
1699 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1741 if (i_ehdr.e_shoff != 0 && i_ehdr.e_shnum != 0 && i_ehdr.e_shentsize != 0) in NAME()
1743 shdr_end = i_ehdr.e_shoff + i_ehdr.e_shnum * i_ehdr.e_shentsize; in NAME()
1779 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()