Home
last modified time | relevance | path

Searched refs:elf_ex (Results 1 – 5 of 5) 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()
603 struct elfhdr elf_ex; in load_elf_binary() local
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()
634 elf_phdata = (struct elf_phdr *)malloc(elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary()
642 elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary()
766 info->elf_flags = elf_ex.e_flags; in load_elf_binary()
[all …]
/openbmc/linux/fs/
H A Dbinfmt_elf.c851 if (elf_ex->e_type != ET_EXEC && elf_ex->e_type != ET_DYN) in load_elf_binary()
853 if (!elf_check_arch(elf_ex)) in load_elf_binary()
855 if (elf_check_fdpic(elf_ex)) in load_elf_binary()
994 retval = arch_check_elf(elf_ex, in load_elf_binary()
1159 elf_ex->e_phnum); in load_elf_binary()
1176 if (elf_ex->e_type == ET_DYN) { in load_elf_binary()
1227 e_entry = elf_ex->e_entry + load_bias; in load_elf_binary()
1375 struct elfhdr elf_ex; in load_elf_library() local
1378 retval = elf_read(file, &elf_ex, sizeof(elf_ex), 0); in load_elf_library()
1386 if (elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 || in load_elf_library()
[all …]
/openbmc/linux/include/linux/
H A Delf.h26 #define START_THREAD(elf_ex, regs, elf_entry, start_stack) \ argument
/openbmc/linux/arch/mips/kernel/
H A Delf.c335 int mips_elf_read_implies_exec(void *elf_ex, int exstack) in mips_elf_read_implies_exec() argument
/openbmc/linux/arch/mips/include/asm/
H A Delf.h518 extern int mips_elf_read_implies_exec(void *elf_ex, int exstack);