There is a faulty check in include/asm-mips64/elf.h: in elf_check_arch, the following access to the "e_flags" field is non-sensical if the binary is ELFCLASS32, because "__h" is typed as an elf64_hdr (through the elfhdr #define), whose e_flags is in a different location from an elf32_hdr. if ((__h->e_ident[EI_CLASS] == ELFCLASS32) && \ ((__h->e_flags & EF_MIPS_ABI2) == 0)) \ __res = 0; \ Should the n32 check (is this what the EF_MIPS_ABI2 check is about?) be punted to another binary format handler? The attached patch removed the ABI2 check. Kip