diff options
| author | mycroft <mycroft@NetBSD.org> | 2000-06-04 16:26:11 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 2000-06-04 16:26:11 +0000 |
| commit | 9dcdff8f258b0fc854ea016325eb7d16bbbffbd8 (patch) | |
| tree | 6adfc4c7f370e4d9ba4bccf257c8484d8489bf7d /sys/kern/exec_conf.c | |
| parent | e9deffe0bf55343eb8c665a25da4e5484c11715b (diff) | |
Add stubs for PE/COFF.
Diffstat (limited to 'sys/kern/exec_conf.c')
| -rw-r--r-- | sys/kern/exec_conf.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c index 5539b940fed..995def1c212 100644 --- a/sys/kern/exec_conf.c +++ b/sys/kern/exec_conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_conf.c,v 1.41 2000/01/17 02:59:25 matt Exp $ */ +/* $NetBSD: exec_conf.c,v 1.42 2000/06/04 16:26:13 mycroft Exp $ */ /* * Copyright (c) 1993, 1994 Christopher G. Demetriou @@ -41,6 +41,7 @@ #include "opt_compat_netbsd32.h" #include "opt_compat_aout.h" #include "opt_compat_vax1k.h" +#include "opt_compat_pecoff.h" #include <sys/param.h> #include <sys/exec.h> @@ -74,6 +75,7 @@ #endif #ifdef COMPAT_IBCS2 +#include <sys/exec_coff.h> #include <compat/ibcs2/ibcs2_exec.h> #endif @@ -105,6 +107,11 @@ #include <compat/aout/aout_exec.h> #endif +#ifdef COMPAT_PECOFF +#include <sys/exec_coff.h> +#include <compat/pecoff/pecoff_exec.h> +#endif + struct execsw execsw[] = { #ifdef LKM { 0, NULL, }, /* entries for LKMs */ @@ -160,6 +167,9 @@ struct execsw execsw[] = { #ifdef COMPAT_VAX1K { sizeof(struct exec), exec_vax1k_makecmds, }, /* vax1k a.out */ #endif +#ifdef COMPAT_PECOFF + { sizeof(struct exec), exec_win32_makecmds, }, /* Win32 PE/COFF */ +#endif }; int nexecs = (sizeof(execsw) / sizeof(*execsw)); int exec_maxhdrsz; |
