> >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.
> 

It's a old 2.1.10x patched across weeks to 2.2.1, then patched with 
2.2.1-19990128-1-arm

I'll get entire 2.2.1 and see ...

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

Reply via email to