summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-23 02:42:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-23 02:42:45 +0000
commit495c33c6637657ace4b7a4db6525175efa4b3b85 (patch)
tree45ac916fb790147465b7a358e916dec86bb02779 /sys/arch/mvme68k
parent4d28f11436de1342c38ec5db96ef30e891b18b66 (diff)
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/include/exec.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/include/exec.h b/sys/arch/mvme68k/include/exec.h
index d16cf3bc72b..ef5cfd8e3e2 100644
--- a/sys/arch/mvme68k/include/exec.h
+++ b/sys/arch/mvme68k/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.4 1996/05/29 03:05:01 deraadt Exp $ */
+/* $OpenBSD: exec.h,v 1.5 1996/12/23 02:42:31 deraadt Exp $ */
/*
* Copyright (c) 1993 Christopher G. Demetriou
@@ -49,7 +49,12 @@ struct relocation_info_m68k {
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_68K
-#define DO_AOUT /* support a.out */
-#define DO_ELF /* support ELF */
+#define _NLIST_DO_AOUT
+#define _NLIST_DO_ELF
+
+#define _KERN_DO_AOUT
+#if defined(COMPAT_LINUX) || defined(COMPAT_SVR4)
+#define _KERN_DO_ELF
+#endif
#endif /* _MACHINE_EXEC_H_ */