Subject: Re: ELF loader question
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 04/09/2003 04:12:36
In article <00e401c2fe49$d8311c00$5ba3a8c0@buzz>,
Kyle Unice <> wrote:
>I built a cross compiler and linker for xscale ELF.  I built the NetBSD
>source and linked the NetBSD 1.6 /sbin/init and /usr/libexec/ld.elf_so
>with the cross compiler.  The problem is that in when the OS is booting
>and check_exec() is called, the structure member epp->ep_entry is never
>set,  so the sanity check at line 290 of kern_exec.c.  
>                        if (epp->ep_entry > VM_MAXUSER_ADDRESS)
>                                    error = ENOEXEC;
the entry is the exec header entry which you need to set.