Home
last modified time | relevance | path

Searched refs:x_ehdr (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Delfcore.h81 Elf_External_Ehdr x_ehdr; /* Elf file header, external form. */ in elf_core_file_p() local
89 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_core_file_p()
98 if (! elf_file_p (&x_ehdr)) in elf_core_file_p()
104 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS) in elf_core_file_p()
108 switch (x_ehdr.e_ident[EI_DATA]) in elf_core_file_p()
128 elf_swap_ehdr_in (abfd, &x_ehdr, i_ehdrp); in elf_core_file_p()
Delfcode.h490 Elf_External_Ehdr x_ehdr; /* Elf file header, external form */ in elf_object_p() local
503 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_object_p()
517 if (! elf_file_p (&x_ehdr) in elf_object_p()
518 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT in elf_object_p()
519 || x_ehdr.e_ident[EI_CLASS] != ELFCLASS) in elf_object_p()
523 switch (x_ehdr.e_ident[EI_DATA]) in elf_object_p()
548 elf_swap_ehdr_in (abfd, &x_ehdr, i_ehdrp); in elf_object_p()
987 Elf_External_Ehdr x_ehdr; /* Elf file header, external form */ in elf_write_shdrs_and_ehdr() local
1002 elf_swap_ehdr_out (abfd, i_ehdrp, &x_ehdr); in elf_write_shdrs_and_ehdr()
1003 amt = sizeof (x_ehdr); in elf_write_shdrs_and_ehdr()
[all …]