summaryrefslogtreecommitdiff
path: root/sys/kern/exec_conf.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1999-09-10 12:24:28 +0000
committerkstailey <kstailey@cvs.openbsd.org>1999-09-10 12:24:28 +0000
commitf77714c7f4a232941861af5e81441bd3542a6f1d (patch)
tree0e6dec2e007439c6176a8189a347d8101937b29c /sys/kern/exec_conf.c
parent9236e3bb7e5ce5ee36c982b615274fbeac0020f2 (diff)
ELF64
Diffstat (limited to 'sys/kern/exec_conf.c')
-rw-r--r--sys/kern/exec_conf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c
index 711fbf524ff..52c3a8ac666 100644
--- a/sys/kern/exec_conf.c
+++ b/sys/kern/exec_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_conf.c,v 1.9 1997/09/02 08:48:30 downsj Exp $ */
+/* $OpenBSD: exec_conf.c,v 1.10 1999/09/10 12:24:27 kstailey Exp $ */
/* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */
/*
@@ -39,7 +39,7 @@
#include <sys/exec_ecoff.h>
#endif
-#if defined(_KERN_DO_ELF)
+#if defined(_KERN_DO_ELF) || defined(_KERN_DO_ELF64)
#include <sys/exec_elf.h>
#endif
@@ -89,6 +89,9 @@ struct execsw execsw[] = {
#ifdef _KERN_DO_ELF
{ sizeof(Elf32_Ehdr), exec_elf_makecmds, }, /* elf binaries */
#endif
+#ifdef _KERN_DO_ELF64
+ { sizeof(Elf64_Ehdr), exec_elf64_makecmds, }, /* elf binaries */
+#endif
#ifdef COMPAT_LINUX
{ LINUX_AOUT_HDR_SIZE, exec_linux_aout_makecmds, }, /* linux a.out */
#endif