diff options
author | 1996-11-06 20:12:12 +0000 | |
---|---|---|
committer | 1996-11-06 20:12:12 +0000 | |
commit | ca75b4670b137c4c760dab9918ca89e062fc0eb2 (patch) | |
tree | decd9cb08c4a9e15adcf56af69647db1e0fc4ffd | |
parent | Added OLF magic. (diff) | |
download | wireguard-openbsd-ca75b4670b137c4c760dab9918ca89e062fc0eb2.tar.xz wireguard-openbsd-ca75b4670b137c4c760dab9918ca89e062fc0eb2.zip |
Uhm, OLF needs a dynamic linked tag.
-rw-r--r-- | sys/sys/exec_olf.h | 13 |
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 */ |