summaryrefslogtreecommitdiff
path: root/sys/kern/exec_conf.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-13 11:07:54 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-13 11:07:54 +0000
commit56634a433950416fba341406aafe2b5107c7d2fc (patch)
treef11a6a1e9a529460167d41810452c13d6472cf34 /sys/kern/exec_conf.c
parent101f8375a13b6561cb0bd8029e06a5973f742bc6 (diff)
Import compat_m68k4k from NetBSD
Diffstat (limited to 'sys/kern/exec_conf.c')
-rw-r--r--sys/kern/exec_conf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c
index f2b8fb4128b..df87c65e32f 100644
--- a/sys/kern/exec_conf.c
+++ b/sys/kern/exec_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_conf.c,v 1.7 1996/12/23 02:42:42 deraadt Exp $ */
+/* $OpenBSD: exec_conf.c,v 1.8 1997/01/13 11:07:47 niklas Exp $ */
/* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */
/*
@@ -63,6 +63,10 @@
#include <compat/hpux/hpux_exec.h>
#endif
+#ifdef COMPAT_M68K4K
+#include <compat/m68k4k/m68k4k_exec.h>
+#endif
+
struct execsw execsw[] = {
#ifdef LKM
{ 0, NULL, }, /* entries for LKMs */
@@ -94,6 +98,9 @@ struct execsw execsw[] = {
#ifdef COMPAT_HPUX
{ HPUX_EXEC_HDR_SIZE, exec_hpux_makecmds, }, /* HP-UX a.out */
#endif
+#ifdef COMPAT_M68K4K
+ { sizeof(struct exec), exec_m68k4k_makecmds, }, /* m68k4k a.out */
+#endif
};
int nexecs = (sizeof execsw / sizeof(*execsw));
int exec_maxhdrsz;