summaryrefslogtreecommitdiffstats
path: root/sys/sys/elf_common.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-06 18:34:31 +0000
committerkib <kib@FreeBSD.org>2012-05-06 18:34:31 +0000
commit3dbcbd0421564ec7bce05e48b017fd365be451b2 (patch)
tree4f236456485a9220c7a0e2f237d73f2587b030ea /sys/sys/elf_common.h
parent64e3d8819be3cb969d4d2ac00804ddd38ae320cf (diff)
downloadFreeBSD-src-3dbcbd0421564ec7bce05e48b017fd365be451b2.zip
FreeBSD-src-3dbcbd0421564ec7bce05e48b017fd365be451b2.tar.gz
Add definition for the -z nodefaultlib flag.
MFC after: 3 days
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r--sys/sys/elf_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index d08569f..8f02ef1 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -480,6 +480,7 @@ typedef struct {
#define DF_1_LOADFLTR 0x00000010 /* Immediate loading of filtees */
#define DF_1_NOOPEN 0x00000040 /* Do not allow loading on dlopen() */
#define DF_1_ORIGIN 0x00000080 /* Process $ORIGIN */
+#define DF_1_NODEFLIB 0x00000800 /* Do not search default paths */
/* Values for n_type. Used in core files. */
#define NT_PRSTATUS 1 /* Process status. */
OpenPOWER on IntegriCloud