Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/binutils/
Delfedit.c49 static Elf32_External_Ehdr ehdr32; variable
141 BYTE_PUT (ehdr32.e_machine, output_elf_machine); in update_elf_header()
143 BYTE_PUT (ehdr32.e_type, output_elf_type); in update_elf_header()
145 ehdr32.e_ident[EI_OSABI] = output_elf_osabi; in update_elf_header()
146 status = fwrite (&ehdr32, sizeof (ehdr32), 1, file) == 1; in update_elf_header()
198 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, in get_file_header()
202 elf_header.e_type = BYTE_GET (ehdr32.e_type); in get_file_header()
203 elf_header.e_machine = BYTE_GET (ehdr32.e_machine); in get_file_header()
204 elf_header.e_version = BYTE_GET (ehdr32.e_version); in get_file_header()
205 elf_header.e_entry = BYTE_GET (ehdr32.e_entry); in get_file_header()
[all …]
Dreadelf.c14857 Elf32_External_Ehdr ehdr32; in get_file_header() local
14859 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, 1, file) != 1) in get_file_header()
14862 elf_header.e_type = BYTE_GET (ehdr32.e_type); in get_file_header()
14863 elf_header.e_machine = BYTE_GET (ehdr32.e_machine); in get_file_header()
14864 elf_header.e_version = BYTE_GET (ehdr32.e_version); in get_file_header()
14865 elf_header.e_entry = BYTE_GET (ehdr32.e_entry); in get_file_header()
14866 elf_header.e_phoff = BYTE_GET (ehdr32.e_phoff); in get_file_header()
14867 elf_header.e_shoff = BYTE_GET (ehdr32.e_shoff); in get_file_header()
14868 elf_header.e_flags = BYTE_GET (ehdr32.e_flags); in get_file_header()
14869 elf_header.e_ehsize = BYTE_GET (ehdr32.e_ehsize); in get_file_header()
[all …]