Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/binutils/
Delfedit.c50 static Elf64_External_Ehdr ehdr64; variable
150 BYTE_PUT (ehdr64.e_machine, output_elf_machine); in update_elf_header()
152 BYTE_PUT (ehdr64.e_type, output_elf_type); in update_elf_header()
154 ehdr64.e_ident[EI_OSABI] = output_elf_osabi; in update_elf_header()
155 status = fwrite (&ehdr64, sizeof (ehdr64), 1, file) == 1; in update_elf_header()
231 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, in get_file_header()
235 elf_header.e_type = BYTE_GET (ehdr64.e_type); in get_file_header()
236 elf_header.e_machine = BYTE_GET (ehdr64.e_machine); in get_file_header()
237 elf_header.e_version = BYTE_GET (ehdr64.e_version); in get_file_header()
238 elf_header.e_entry = BYTE_GET (ehdr64.e_entry); in get_file_header()
[all …]
Dreadelf.c14878 Elf64_External_Ehdr ehdr64; in get_file_header() local
14891 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, 1, file) != 1) in get_file_header()
14894 elf_header.e_type = BYTE_GET (ehdr64.e_type); in get_file_header()
14895 elf_header.e_machine = BYTE_GET (ehdr64.e_machine); in get_file_header()
14896 elf_header.e_version = BYTE_GET (ehdr64.e_version); in get_file_header()
14897 elf_header.e_entry = BYTE_GET (ehdr64.e_entry); in get_file_header()
14898 elf_header.e_phoff = BYTE_GET (ehdr64.e_phoff); in get_file_header()
14899 elf_header.e_shoff = BYTE_GET (ehdr64.e_shoff); in get_file_header()
14900 elf_header.e_flags = BYTE_GET (ehdr64.e_flags); in get_file_header()
14901 elf_header.e_ehsize = BYTE_GET (ehdr64.e_ehsize); in get_file_header()
[all …]