Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 06/13/1996 14:50:04
christos
Thu Jun 13 14:42:04 EDT 1996
Update of /a/cvsroot/src/sys/compat/linux
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv13608

Modified Files:
	linux_exec.c linux_exec.h 
Log Message:
- Pass the Elf32_Ehdr in the linux probe function, and use it!

Since linux binaries are (mostly) always compiled with gcc, look for
the gcc signature in the .comment section header: "\0 GCC: (GNU) ".
I've changed the probe order in kern/exec_elf.c to probe for linux ELF
binaries first and fall back to SVR4 binaries. This makes statically
linked binaries work for both linux and svr4. Note that gcc-compiled 
svr4 binaries, still contain the operating system signature first and
then the GCC signature, so there is no conflict. Yes this is a hack.


cgd
Thu Jun 13 14:49:10 EDT 1996
Update of /a/cvsroot/src/sys/kern
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv13926

Revision/Branch: netbsd-1-2

Modified Files:
	subr_autoconf.c 
Log Message:
pull up from trunk:
>#ifdef __alpha__, call a machine-dependent function with new device
>structure and 'aux', right before ca_attach is called for the
>newly-attached device.  This allows the alpha port to do root device
>autodetection without modifying every bus and device driver which could
>be in the 'boot path.'  In the long run, it may make sense to make
>this machine-independent.