Home
last modified time | relevance | path

Searched refs:i_ehdr (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils/bfd/
Delfcode.h1532 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()
[all …]
Delf32-ppc.c2166 Elf_Internal_Ehdr *i_ehdr = elf_elfheader (abfd); in ppc_elf_object_p() local
2168 if (i_ehdr->e_ident[EI_CLASS] == ELFCLASS32) in ppc_elf_object_p()
Delf64-ppc.c2368 Elf_Internal_Ehdr *i_ehdr = elf_elfheader (abfd); in ppc64_elf_object_p() local
2370 if (i_ehdr->e_ident[EI_CLASS] == ELFCLASS64) in ppc64_elf_object_p()
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delfcode.h1610 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()
[all …]
Delf32-ppc.c1726 Elf_Internal_Ehdr *i_ehdr = elf_elfheader (abfd); in ppc_elf_object_p() local
1728 if (i_ehdr->e_ident[EI_CLASS] == ELFCLASS32) in ppc_elf_object_p()
Delf64-ppc.c2496 Elf_Internal_Ehdr *i_ehdr = elf_elfheader (abfd); in ppc64_elf_object_p() local
2498 if (i_ehdr->e_ident[EI_CLASS] == ELFCLASS64) in ppc64_elf_object_p()