>Problem is in elf_check_arm macro of arm elf.h
>
>include/asm-i386/elf.h:
>#define elf_check_arch(x) ( ((x) == EM_386) || ((x) == EM_486) )
>
>include/asm-arm/elf.h:
>#define elf_check_arch(x) ( ((x)->e_machine == EM_ARM) && 
>(ELF_PROC_OK((x))) )
>
>fs/binfmt_elf.c:
>       if (!elf_check_arch(interp_elf_ex->e_machine))
>       if (!elf_check_arch(elf_ex.e_machine))
>          !elf_check_arch(elf_ex.e_machine) ||
>

Where did you get your source code?  This is OK in the tree I have here as far 
as I can see.  The correct version is what's in asm-arm/elf.h and the first 
line you quoted from binfmt_elf; but this is different from the current state 
of the art on other architectures.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to