Home
last modified time | relevance | path

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

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Delfcore.h75 Elf_External_Ehdr x_ehdr; /* Elf file header, external form. */ in elf_core_file_p() local
86 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_core_file_p()
95 if (! elf_file_p (&x_ehdr)) in elf_core_file_p()
101 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS) in elf_core_file_p()
105 switch (x_ehdr.e_ident[EI_DATA]) in elf_core_file_p()
129 elf_swap_ehdr_in (abfd, &x_ehdr, i_ehdrp); in elf_core_file_p()
Delfcode.h472 Elf_External_Ehdr x_ehdr; /* Elf file header, external form */ in elf_object_p() local
487 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_object_p()
501 if (! elf_file_p (&x_ehdr) in elf_object_p()
502 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT in elf_object_p()
503 || x_ehdr.e_ident[EI_CLASS] != ELFCLASS) in elf_object_p()
507 switch (x_ehdr.e_ident[EI_DATA]) in elf_object_p()
534 elf_swap_ehdr_in (abfd, &x_ehdr, i_ehdrp); in elf_object_p()
986 Elf_External_Ehdr x_ehdr; /* Elf file header, external form */ in elf_write_shdrs_and_ehdr() local
1001 elf_swap_ehdr_out (abfd, i_ehdrp, &x_ehdr); in elf_write_shdrs_and_ehdr()
1002 amt = sizeof (x_ehdr); in elf_write_shdrs_and_ehdr()
[all …]