Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Eric Haszlakiewicz <erh@netbsd.org>
List: source-changes
Date: 11/17/2000 05:55:19
Module Name: syssrc
Committed By: erh
Date: Fri Nov 17 03:55:19 UTC 2000
Modified Files:
syssrc/sys/compat/linux/arch/alpha: files.linux_alpha linux_exec.h
syscalls.master
syssrc/sys/compat/linux/arch/i386: linux_exec.h
syssrc/sys/compat/linux/arch/m68k: linux_exec.h
syssrc/sys/compat/linux/common: linux_exec_elf32.c
Added Files:
syssrc/sys/compat/linux/arch/alpha: linux_exec_alpha.c
Log Message:
Make the linux compatibilty code work on the alpha. (horay!) (at last!)
Two main changes:
Create a linux_elf64_copyargs that uses the linux specific LinuxAuxInfo
structure. This is only used on the alpha. i386 and m68k use the
standard elf copyargs function.
Since linux's approach to binary compatibilty is to look as much
like osf1 as possible, add all the osf1 syscalls that we have
implemented to the linux syscall table. This includes get/setsysinfo,
ported from FreeBSD.
In order for linux compat to work you must have COMPAT_OSF1, COMPAT_43,
COMPAT_09, COMPAT_12 and COMPAT_13 on also.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 syssrc/sys/compat/linux/arch/alpha/files.linux_alpha
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/linux/arch/alpha/linux_exec.h
cvs rdiff -r0 -r1.1 syssrc/sys/compat/linux/arch/alpha/linux_exec_alpha.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -r1.2 -r1.3 syssrc/sys/compat/linux/arch/i386/linux_exec.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/linux/arch/m68k/linux_exec.h
cvs rdiff -r1.46 -r1.47 syssrc/sys/compat/linux/common/linux_exec_elf32.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.