Lines Matching refs:i_ehdr
1056 Elf_Internal_Ehdr i_ehdr; in elf_checksum_contents() local
1058 i_ehdr = *i_ehdrp; in elf_checksum_contents()
1059 i_ehdr.e_phoff = i_ehdr.e_shoff = 0; in elf_checksum_contents()
1060 elf_swap_ehdr_out (abfd, &i_ehdr, &x_ehdr); in elf_checksum_contents()
1619 Elf_Internal_Ehdr i_ehdr; /* Elf file header, internal form */ in NAME() local
1675 elf_swap_ehdr_in (templ, &x_ehdr, &i_ehdr); in NAME()
1680 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
1687 bfd_malloc (i_ehdr.e_phnum * (sizeof *x_phdrs + sizeof *i_phdrs)); in NAME()
1690 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (bfd_byte *) x_phdrs, in NAME()
1691 i_ehdr.e_phnum * sizeof x_phdrs[0]); in NAME()
1699 i_phdrs = (Elf_Internal_Phdr *) &x_phdrs[i_ehdr.e_phnum]; in NAME()
1705 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1747 if (i_ehdr.e_shoff != 0 && i_ehdr.e_shnum != 0 && i_ehdr.e_shentsize != 0) in NAME()
1749 shdr_end = i_ehdr.e_shoff + i_ehdr.e_shnum * i_ehdr.e_shentsize; in NAME()
1785 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()