summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-11-06 20:12:13 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-11-06 20:12:13 +0000
commit03e17b4d6f53d8014eece371fa3aa0adf944a696 (patch)
tree7c8acbd6c1c8873124e4d1734800f3649cc64fd9
parent49f9faaae788b033e55317bdbf1ec113849e440d (diff)
Uhm, OLF needs a dynamic linked tag.
-rw-r--r--sys/sys/exec_olf.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/sys/exec_olf.h b/sys/sys/exec_olf.h
index 1a42655a59b..7b4280e2b4c 100644
--- a/sys/sys/exec_olf.h
+++ b/sys/sys/exec_olf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_olf.h,v 1.3 1996/11/06 18:41:53 etheisen Exp $ */
+/* $OpenBSD: exec_olf.h,v 1.4 1996/11/06 20:12:12 etheisen Exp $ */
/*
* Copyright (c) 1996 Erik Theisen. All rights reserved.
*
@@ -47,9 +47,10 @@
#define OI_CLASS EI_CLASS /* file class */
#define OI_DATA EI_DATA /* data encoding */
#define OI_VERSION EI_VERSION /* OLF header version */
-#define OI_OS 7 /* Operating system */
-#define OI_STRIP 8 /* Strip tag */
-#define OI_PAD 9 /* start of pad bytes */
+#define OI_OS 7 /* Operating system tag */
+#define OI_DYNAMIC 8 /* Dynamic tag */
+#define OI_STRIP 9 /* Strip tag */
+#define OI_PAD 10 /* start of pad bytes */
#define OI_NIDENT EI_NIDENT /* Size of e_ident[] */
/* e_ident[] magic number */
@@ -115,6 +116,10 @@
OOSN_DELL, \
0 }
+/* e_ident[] dynamic */
+#define ODYNAMIC_N 0 /* Statically linked */
+#define ODYNAMIC 1 /* Dynamically linked */
+
/* e_ident[] strip */
#define OSTRIP_N 0 /* NOT Stripped */
#define OSTRIP 1 /* Stripped */