diff options
author | sos <sos@FreeBSD.org> | 1996-03-10 08:42:54 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1996-03-10 08:42:54 +0000 |
commit | 7d151a09c3f9613590f35dad81c77959e4f34381 (patch) | |
tree | ab85b2b967b056b586d4e20e909a63357cd88185 /sys/i386/linux/imgact_linux.c | |
parent | bfb211a9a540fa804c574162f720bebded3fcddf (diff) | |
download | FreeBSD-src-7d151a09c3f9613590f35dad81c77959e4f34381.zip FreeBSD-src-7d151a09c3f9613590f35dad81c77959e4f34381.tar.gz |
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 :)
Diffstat (limited to 'sys/i386/linux/imgact_linux.c')
-rw-r--r-- | sys/i386/linux/imgact_linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index 9d6906d..e070aa2 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 1994-1995 Søren Schmidt + * Copyright (c) 1994-1996 Søren Schmidt * All rights reserved. * * Based heavily on /sys/kern/imgact_aout.c which is: @@ -28,7 +28,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_linux.c,v 1.8 1996/02/16 18:40:48 peter Exp $ + * $Id: imgact_linux.c,v 1.9 1996/03/02 19:37:47 peter Exp $ */ #include <sys/param.h> @@ -227,6 +227,6 @@ exec_linux_imgact(imgp) * Since `const' objects end up in the text segment, TEXT_SET is the * correct directive to use. */ -const struct execsw linux_execsw = { exec_linux_imgact, "linux" }; +const struct execsw linux_execsw = { exec_linux_imgact, "linux a.out" }; TEXT_SET(execsw_set, linux_execsw); |