diff options
| author | christos <christos@NetBSD.org> | 1999-02-11 09:35:21 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1999-02-11 09:35:21 +0000 |
| commit | be58edf2b6fd4e64897e66f2b4a52deb6b60d268 (patch) | |
| tree | dcb9a315cc4caddbfba098a5439a53d9ca75db5e /sys/kern/exec_conf.c | |
| parent | 7f718b612aa17899dc0117e06bd5fb30681fd308 (diff) | |
Add compat_aout bit.
Diffstat (limited to 'sys/kern/exec_conf.c')
| -rw-r--r-- | sys/kern/exec_conf.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c index bb224a3b783..4f0cf75b68e 100644 --- a/sys/kern/exec_conf.c +++ b/sys/kern/exec_conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_conf.c,v 1.32 1998/10/03 20:39:32 christos Exp $ */ +/* $NetBSD: exec_conf.c,v 1.33 1999/02/11 09:35:21 christos Exp $ */ /* * Copyright (c) 1993, 1994 Christopher G. Demetriou @@ -38,6 +38,7 @@ #include "opt_compat_hpux.h" #include "opt_compat_svr4.h" #include "opt_compat_sparc32.h" +#include "opt_compat_aout.h" #include <sys/param.h> #include <sys/exec.h> @@ -94,6 +95,10 @@ #include <compat/vax1k/vax1k_exec.h> #endif +#ifdef COMPAT_AOUT +#include <compat/aout/aout_exec.h> +#endif + struct execsw execsw[] = { #ifdef LKM { 0, NULL, }, /* entries for LKMs */ @@ -106,7 +111,11 @@ struct execsw execsw[] = { { MAXINTERP, exec_script_makecmds, }, /* shell scripts */ #endif #ifdef EXEC_AOUT +# ifdef COMPAT_AOUT + { sizeof(struct exec), exec_aoutcompat_makecmds, },/* compat a.out */ +# else { sizeof(struct exec), exec_aout_makecmds, }, /* a.out binaries */ +# endif #endif #ifdef EXEC_ECOFF { ECOFF_HDR_SIZE, exec_ecoff_makecmds, }, /* ecoff binaries */ |
