Searched refs:interp_elf_ex (Results 1 – 2 of 2) sorted by relevance
235 static unsigned int load_irix_interp(struct elfhdr * interp_elf_ex, in load_irix_interp() argument255 print_elfhdr(interp_elf_ex); in load_irix_interp()259 if ((interp_elf_ex->e_type != ET_EXEC && in load_irix_interp()260 interp_elf_ex->e_type != ET_DYN) || in load_irix_interp()261 !irix_elf_check_arch(interp_elf_ex) || in load_irix_interp()263 printk("IRIX interp has bad e_type %d\n", interp_elf_ex->e_type); in load_irix_interp()268 if(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum > PAGE_SIZE) { in load_irix_interp()270 (sizeof(struct elf_phdr) * interp_elf_ex->e_phnum)); in load_irix_interp()275 kmalloc(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum, in load_irix_interp()286 if(interp_elf_ex->e_phentsize != 32) { in load_irix_interp()[all …]
269 static unsigned long load_elf_interp(struct elfhdr * interp_elf_ex, in load_elf_interp() argument282 if (interp_elf_ex->e_type != ET_EXEC && in load_elf_interp()283 interp_elf_ex->e_type != ET_DYN) in load_elf_interp()285 if (!elf_check_arch(interp_elf_ex)) in load_elf_interp()294 if (interp_elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_interp()297 if (interp_elf_ex->e_phnum < 1 || in load_elf_interp()298 interp_elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr)) in load_elf_interp()303 size = sizeof(struct elf_phdr) * interp_elf_ex->e_phnum; in load_elf_interp()310 retval = kernel_read(interpreter,interp_elf_ex->e_phoff,(char *)elf_phdata,size); in load_elf_interp()319 for (i=0; i<interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp()[all …]