Lines Matching refs:i_ehdr
1532 Elf_Internal_Ehdr i_ehdr; /* Elf file header, internal form */ in NAME() local
1587 elf_swap_ehdr_in (templ, &x_ehdr, &i_ehdr); in NAME()
1592 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
1598 x_phdrs = bfd_malloc (i_ehdr.e_phnum * (sizeof *x_phdrs + sizeof *i_phdrs)); in NAME()
1604 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (char *) x_phdrs, in NAME()
1605 i_ehdr.e_phnum * sizeof x_phdrs[0]); in NAME()
1613 i_phdrs = (Elf_Internal_Phdr *) &x_phdrs[i_ehdr.e_phnum]; in NAME()
1618 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1647 && (bfd_vma) contents_size >= (i_ehdr.e_shoff in NAME()
1648 + i_ehdr.e_shnum * i_ehdr.e_shentsize)) in NAME()
1651 if ((bfd_vma) contents_size < (i_ehdr.e_shoff in NAME()
1652 + i_ehdr.e_shnum * i_ehdr.e_shentsize)) in NAME()
1653 contents_size = i_ehdr.e_shoff + i_ehdr.e_shnum * i_ehdr.e_shentsize; in NAME()
1667 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1691 if ((bfd_vma) contents_size < (i_ehdr.e_shoff in NAME()
1692 + i_ehdr.e_shnum * i_ehdr.e_shentsize)) in NAME()