diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-17 08:02:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-17 08:02:22 +0000 |
commit | 1c86921d81610e1ef2eb9efef0f9f1a890d366d1 (patch) | |
tree | a9ffc9257c80a7b70ebe3bb5f77753b490df0c8a /sys/arch/i386 | |
parent | 35ebe67b708457ec2cf2541a8d67f5698c58bee9 (diff) |
Remove support for a.out and ecoff. We only do elf now.
ok miod
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 15 | ||||
-rw-r--r-- | sys/arch/i386/include/exec.h | 5 |
2 files changed, 2 insertions, 18 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 6143265a58d..eb3bab857e1 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.526 2013/10/09 01:48:40 guenther Exp $ */ +/* $OpenBSD: machdep.c,v 1.527 2013/10/17 08:02:15 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -3374,19 +3374,6 @@ init386(paddr_t first_avail) } /* - * cpu_exec_aout_makecmds(): - * cpu-dependent a.out format hook for execve(). - * - * Determine of the given exec package refers to something which we - * understand and, if so, set up the vmcmds for it. - */ -int -cpu_exec_aout_makecmds(struct proc *p, struct exec_package *epp) -{ - return ENOEXEC; -} - -/* * consinit: * initialize the system console. */ diff --git a/sys/arch/i386/include/exec.h b/sys/arch/i386/include/exec.h index d655f867f65..07fdb961476 100644 --- a/sys/arch/i386/include/exec.h +++ b/sys/arch/i386/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.11 2012/09/11 15:44:17 deraadt Exp $ */ +/* $OpenBSD: exec.h,v 1.12 2013/10/17 08:02:16 deraadt Exp $ */ /* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */ /* @@ -40,10 +40,7 @@ #define ELF_TARG_MACH EM_386 /* XXX - EM_486 is currently unused by all OSs/compilers/linkers */ -#define _NLIST_DO_AOUT #define _NLIST_DO_ELF - -#define _KERN_DO_AOUT #define _KERN_DO_ELF #endif /* _MACHINE_EXEC_H_ */ |