summaryrefslogtreecommitdiff
path: root/sys/kern/exec_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/exec_conf.c')
-rw-r--r--sys/kern/exec_conf.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c
index edcd052aa15..eade785898b 100644
--- a/sys/kern/exec_conf.c
+++ b/sys/kern/exec_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_conf.c,v 1.27 2011/06/27 03:27:07 tedu Exp $ */
+/* $OpenBSD: exec_conf.c,v 1.28 2011/07/04 22:53:53 tedu Exp $ */
/* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */
/*
@@ -43,18 +43,13 @@
#include <sys/exec_elf.h>
#endif
-#ifdef COMPAT_SVR4
-#include <compat/svr4/svr4_exec.h>
-#endif
-
#ifdef COMPAT_LINUX
#include <compat/linux/linux_exec.h>
#endif
extern struct emul emul_native, emul_elf32, emul_elf64, emul_aout,
emul_freebsd_aout, emul_freebsd_elf,
- emul_linux_elf, emul_linux_aout, emul_netbsd_elf64,
- emul_sunos, emul_svr4;
+ emul_linux_elf, emul_linux_aout, emul_netbsd_elf64;
struct execsw execsw[] = {
{ EXEC_SCRIPT_HDRSZ, exec_script_makecmds, &emul_native, }, /* shell scripts */
@@ -78,9 +73,6 @@ struct execsw execsw[] = {
{ LINUX_AOUT_HDR_SIZE, exec_linux_aout_makecmds, &emul_linux_aout }, /* linux a.out */
{ sizeof(Elf32_Ehdr), exec_linux_elf32_makecmds, &emul_linux_elf },
#endif
-#ifdef COMPAT_SVR4
- { sizeof(Elf32_Ehdr), exec_elf32_makecmds, &emul_svr4 }, /* elf binaries */
-#endif
#ifdef LKM
{ 0, NULL, NULL }, /* entries for LKMs */
{ 0, NULL, NULL },