From 9c934bf405d4aef4020894d231d658069ef8ebc9 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 6 May 2012 18:34:31 +0000 Subject: [PATCH] Add definition for the -z nodefaultlib flag. MFC after: 3 days --- sys/sys/elf_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index d08569fc3f0..8f02ef1976c 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. */