From owner-cvs-user Sun Mar 10 00:43:04 1996 Return-Path: owner-cvs-user Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA03286 for cvs-user-outgoing; Sun, 10 Mar 1996 00:43:04 -0800 (PST) Received: (from sos@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA03260 Sun, 10 Mar 1996 00:42:56 -0800 (PST) Date: Sun, 10 Mar 1996 00:42:56 -0800 (PST) From: Soren Schmidt Message-Id: <199603100842.AAA03260@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-user, cvs-sys Subject: cvs commit: src/sys/conf files src/sys/sys imgact_elf.h imgact.h src/sys/kern imgact_elf.c kern_exec.c src/lkm/linux Makefile linux.c src/sys/i386/linux linux.h linux_util.h linux_sysvec.c imgact_linux.c Sender: owner-cvs-user@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/03/10 00:42:55 Modified: lkm/linux Makefile linux.c sys/i386/linux linux.h linux_util.h linux_sysvec.c imgact_linux.c sys/conf files sys/sys imgact.h sys/kern kern_exec.c Added: sys/sys imgact_elf.h sys/kern imgact_elf.c Log: First attempt at FreeBSD & Linux ELF support. Compile and link a new kernel, that will give native ELF support, and provide the hooks for other ELF interpreters as well. To make native ELF binaries use John Polstras elf-kit-1.0.1.. For the time being also use his ld-elf.so.1 and put it in /usr/libexec. The Linux emulator has been enhanced to also run ELF binaries, it is however in its very first incarnation. Just get some Linux ELF libs (Slackware-3.0) and put them in the prober place (/compat/linux/...). I've ben able to run all the Slackware-3.0 binaries I've tried so far. (No it won't run quake yet :) Revision Changes Path 1.7 +2 -2 src/lkm/linux/Makefile 1.5 +13 -1 src/lkm/linux/linux.c 1.7 +11 -3 src/sys/i386/linux/linux.h 1.2 +1 -3 src/sys/i386/linux/linux_util.h 1.2 +104 -62 src/sys/i386/linux/linux_sysvec.c 1.10 +3 -3 src/sys/i386/linux/imgact_linux.c 1.63 +1 -0 src/sys/conf/files 1.11 +2 -1 src/sys/sys/imgact.h 1.37 +19 -4 src/sys/kern/kern_exec.c