Lines Matching refs:i_ehdr
1610 Elf_Internal_Ehdr i_ehdr; /* Elf file header, internal form */ in NAME() local
1665 elf_swap_ehdr_in (templ, &x_ehdr, &i_ehdr); in NAME()
1670 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
1676 x_phdrs = bfd_malloc (i_ehdr.e_phnum * (sizeof *x_phdrs + sizeof *i_phdrs)); in NAME()
1682 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (bfd_byte *) x_phdrs, in NAME()
1683 i_ehdr.e_phnum * sizeof x_phdrs[0]); in NAME()
1691 i_phdrs = (Elf_Internal_Phdr *) &x_phdrs[i_ehdr.e_phnum]; in NAME()
1696 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1728 && (bfd_vma) contents_size >= (i_ehdr.e_shoff in NAME()
1729 + i_ehdr.e_shnum * i_ehdr.e_shentsize)) in NAME()
1732 if ((bfd_vma) contents_size < (i_ehdr.e_shoff in NAME()
1733 + i_ehdr.e_shnum * i_ehdr.e_shentsize)) in NAME()
1734 contents_size = i_ehdr.e_shoff + i_ehdr.e_shnum * i_ehdr.e_shentsize; in NAME()
1748 for (i = 0; i < i_ehdr.e_phnum; ++i) in NAME()
1775 if ((bfd_vma) contents_size < (i_ehdr.e_shoff in NAME()
1776 + i_ehdr.e_shnum * i_ehdr.e_shentsize)) in NAME()