summaryrefslogtreecommitdiff
path: root/sys/kern/exec_conf.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-07-02 19:57:16 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-07-02 19:57:16 +0000
commitae925fd12cfb7f45b45cdc7d9949a532f7036b20 (patch)
tree806a9b8a6a49f2e117aa7a7926f3df486a4b6d79 /sys/kern/exec_conf.c
parent60e9a7fdfa994a34001f5c17cd3a32546ee4e9a0 (diff)
remove support for compat_sunos (and m68k4k). ok deraadt guenther
Diffstat (limited to 'sys/kern/exec_conf.c')
-rw-r--r--sys/kern/exec_conf.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c
index 81215d52e18..a25f1832285 100644
--- a/sys/kern/exec_conf.c
+++ b/sys/kern/exec_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_conf.c,v 1.23 2010/07/01 17:30:25 tedu Exp $ */
+/* $OpenBSD: exec_conf.c,v 1.24 2010/07/02 19:57:15 tedu Exp $ */
/* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */
/*
@@ -59,10 +59,6 @@
#include <compat/freebsd/freebsd_exec.h>
#endif
-#ifdef COMPAT_M68K4K
-#include <compat/m68k4k/m68k4k_exec.h>
-#endif
-
#ifdef COMPAT_VAX1K
#include <compat/vax1k/vax1k_exec.h>
#endif
@@ -101,18 +97,12 @@ struct execsw execsw[] = {
{ FREEBSD_AOUT_HDR_SIZE, exec_freebsd_aout_makecmds, &emul_freebsd_aout }, /* freebsd */
{ sizeof(Elf32_Ehdr), exec_freebsd_elf32_makecmds, &emul_freebsd_elf },
#endif
-#ifdef COMPAT_M68K4K
- { sizeof(struct exec), exec_m68k4k_makecmds, &emul_native }, /* m68k4k a.out */
-#endif
#ifdef COMPAT_VAX1K
{ sizeof(struct exec), exec_vax1k_makecmds, &emul_native }, /* vax1k a.out */
#endif
#ifdef COMPAT_SVR4
{ sizeof(Elf32_Ehdr), exec_elf32_makecmds, &emul_svr4 }, /* elf binaries */
#endif
-#ifdef COMPAT_SUNOS
- { sizeof(struct exec), exec_aout_makecmds, &emul_sunos },
-#endif
#ifdef LKM
{ 0, NULL, NULL }, /* entries for LKMs */
{ 0, NULL, NULL },