summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/exec.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-04 01:13:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-04 01:13:08 +0000
commit8647d93cb53f8b11fb29647618fb7bb9276b1300 (patch)
tree9128211d5dc2f0944322f99fc102047b9ced156f /sys/arch/alpha/include/exec.h
parent5d2326885fcababc790af7719f414ff75c9b3b91 (diff)
turn off _KERN_DO_ECOFF unless COMPAT_OSF1 is enabled. This shrinks the
ramdisks, too.
Diffstat (limited to 'sys/arch/alpha/include/exec.h')
-rw-r--r--sys/arch/alpha/include/exec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/exec.h b/sys/arch/alpha/include/exec.h
index 12e87fe53f4..0b39b4fd473 100644
--- a/sys/arch/alpha/include/exec.h
+++ b/sys/arch/alpha/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.7 2001/01/22 14:51:02 art Exp $ */
+/* $OpenBSD: exec.h,v 1.8 2004/07/04 01:13:07 deraadt Exp $ */
/* $NetBSD: exec.h,v 1.1 1995/02/13 23:07:37 cgd Exp $ */
/*
@@ -48,8 +48,9 @@
#define _NLIST_DO_ECOFF
#define _NLIST_DO_ELF
-#define _KERN_DO_AOUT
+#ifdef COMPAT_OSF1
#define _KERN_DO_ECOFF
+#endif
#define _KERN_DO_ELF64
#endif /* !_ALPHA_EXEC_H_ */