From f77714c7f4a232941861af5e81441bd3542a6f1d Mon Sep 17 00:00:00 2001 From: kstailey Date: Fri, 10 Sep 1999 12:24:28 +0000 Subject: ELF64 --- sys/kern/exec_conf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/kern/exec_conf.c') 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 #endif -#if defined(_KERN_DO_ELF) +#if defined(_KERN_DO_ELF) || defined(_KERN_DO_ELF64) #include #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 -- cgit v1.2.3