Lines Matching refs:interp_elf_ex

537 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex,  in load_elf_interp()  argument
551 if (interp_elf_ex->e_type != ET_EXEC && in load_elf_interp()
552 interp_elf_ex->e_type != ET_DYN) in load_elf_interp()
554 if (!elf_check_arch(interp_elf_ex) || in load_elf_interp()
555 elf_check_fdpic(interp_elf_ex)) in load_elf_interp()
561 interp_elf_ex->e_phnum); in load_elf_interp()
568 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp()
582 if (interp_elf_ex->e_type == ET_EXEC || load_addr_set) in load_elf_interp()
584 else if (no_base && interp_elf_ex->e_type == ET_DYN) in load_elf_interp()
597 interp_elf_ex->e_type == ET_DYN) { in load_elf_interp()
709 struct elfhdr interp_elf_ex; in load_elf_binary() member
794 retval = kernel_read(interpreter, &loc->interp_elf_ex, in load_elf_binary()
795 sizeof(loc->interp_elf_ex), &pos); in load_elf_binary()
796 if (retval != sizeof(loc->interp_elf_ex)) { in load_elf_binary()
830 if (memcmp(loc->interp_elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
833 if (!elf_check_arch(&loc->interp_elf_ex) || in load_elf_binary()
834 elf_check_fdpic(&loc->interp_elf_ex)) in load_elf_binary()
838 interp_elf_phdata = load_elf_phdrs(&loc->interp_elf_ex, in load_elf_binary()
845 for (i = 0; i < loc->interp_elf_ex.e_phnum; i++, elf_ppnt++) in load_elf_binary()
848 retval = arch_elf_pt_proc(&loc->interp_elf_ex, in load_elf_binary()
863 !!interpreter, &loc->interp_elf_ex, in load_elf_binary()
1087 elf_entry = load_elf_interp(&loc->interp_elf_ex, in load_elf_binary()
1097 elf_entry += loc->interp_elf_ex.e_entry; in load_elf_binary()