summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
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/hp300
parent4d28f11436de1342c38ec5db96ef30e891b18b66 (diff)
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/include/exec.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/hp300/include/exec.h b/sys/arch/hp300/include/exec.h
index b19b2fda177..c38c46f767e 100644
--- a/sys/arch/hp300/include/exec.h
+++ b/sys/arch/hp300/include/exec.h
@@ -50,7 +50,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_ */