From bbe2e4639e8e709ab07d68d97c1e8daae1ab9331 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 17 Mar 2009 12:47:40 +0000 Subject: [PATCH] Add some definitions for the DT_FLAGS_1 tag flags. Reviewed by: kan --- sys/sys/elf_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 34c0b3aac24..bf64a3b2c76 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -466,6 +466,11 @@ typedef struct { executable contains code using a static thread-local storage scheme. */ +/* Values for DT_FLAGS_1 */ +#define DF_1_BIND_NOW 0x00000001 /* Same as DF_BIND_NOW */ +#define DF_1_GLOBAL 0x00000002 /* Set the RTLD_GLOBAL for object */ +#define DF_1_ORIGIN 0x00000080 /* Process $ORIGIN */ + /* Values for n_type. Used in core files. */ #define NT_PRSTATUS 1 /* Process status. */ #define NT_FPREGSET 2 /* Floating point registers. */