Home
last modified time | relevance | path

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

/openbmc/qemu/bsd-user/
H A Delfload.c508 struct elfhdr elf_ex; in is_target_elf_binary() local
517 elf_ex = *((struct elfhdr *)buf); in is_target_elf_binary()
518 bswap_ehdr(&elf_ex); in is_target_elf_binary()
520 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in is_target_elf_binary()
521 (!elf_check_arch(elf_ex.e_machine))) { in is_target_elf_binary()
603 struct elfhdr elf_ex; in load_elf_binary() local
617 elf_ex = *((struct elfhdr *) bprm->buf); /* exec-header */ in load_elf_binary()
618 bswap_ehdr(&elf_ex); in load_elf_binary()
621 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in load_elf_binary()
622 (!elf_check_arch(elf_ex.e_machine))) { in load_elf_binary()
[all …]