summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include
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/mac68k/include
parent4d28f11436de1342c38ec5db96ef30e891b18b66 (diff)
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
Diffstat (limited to 'sys/arch/mac68k/include')
-rw-r--r--sys/arch/mac68k/include/exec.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/mac68k/include/exec.h b/sys/arch/mac68k/include/exec.h
index a2867f86c67..de2b2485753 100644
--- a/sys/arch/mac68k/include/exec.h
+++ b/sys/arch/mac68k/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.4 1996/05/29 03:05:00 deraadt Exp $ */
+/* $OpenBSD: exec.h,v 1.5 1996/12/23 02:42:30 deraadt Exp $ */
/* $NetBSD: exec.h,v 1.8 1996/05/05 06:17:40 briggs Exp $ */
/*-
@@ -59,7 +59,12 @@ struct relocation_info_mac68k {
#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 /* _EXEC_MACHINE_ */