summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-11-06 18:35:23 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-11-06 18:35:23 +0000
commit451e30d80a70bd6fbeae93d09cd732f00190c653 (patch)
treeb59aa2cdcf1c7ba27c297cdb8b76eee814313de9 /sys
parentf4080c8fbd750a0578cba4dfcf4b4f858f62841b (diff)
Added ONAMEV operating system name vector. Added OSTRIP strip
defines.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/exec_olf.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/sys/exec_olf.h b/sys/sys/exec_olf.h
index c4a13950544..c90025b4a58 100644
--- a/sys/sys/exec_olf.h
+++ b/sys/sys/exec_olf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_olf.h,v 1.1 1996/10/27 19:44:17 etheisen Exp $ */
+/* $OpenBSD: exec_olf.h,v 1.2 1996/11/06 18:35:22 etheisen Exp $ */
/*
* Copyright (c) 1996 Erik Theisen
* All rights reserved.
@@ -93,7 +93,6 @@
#define OOS_SCO 11 /* SCO UNIX */
#define OOS_DELL 13 /* DELL SVR4 */
#define OOS_NUM 14 /* Number of systems */
-
/*
* Lowercase and numbers ONLY.
* No whitespace or punc.
@@ -111,6 +110,16 @@
#define OOSN_IRIX "irix" /* SGI IRIX */
#define OOSN_SCO "sco" /* SCO UNIX */
#define OOSN_DELL "dell" /* DELL SVR4 */
+#define ONAMEV { OOSN_NULL, OOSN_OPENBSD, OOSN_NETBSD, \
+ OOSN_FREEBSD, OOSN_44BSD, OOSN_LINUX, \
+ OOSN_MACH, OOSN_SVR4, OOSN_ESIX, \
+ OOSN_SOLARIS, OOSN_IRIX, OOSN_SCO, \
+ OOSN_DELL, \
+ 0 }
+
+/* e_ident[] strip */
+#define OSTRIP_N 0 /* NOT Stripped */
+#define OSTRIP 1 /* Stripped */
/* e_ident */
#define IS_OLF(ehdr) ((ehdr).e_ident[OI_MAG0] == OLFMAG0 && \