summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-03-17 12:47:40 +0000
committerkib <kib@FreeBSD.org>2009-03-17 12:47:40 +0000
commit6cc834836c24a6517c53a0a2436359e9b832212a (patch)
treeadd65ea199d34d4b007554a1179cf4a51a85a7e1
parent0cd436f97ea6cdd449c3505998334d090d8d0ed6 (diff)
downloadFreeBSD-src-6cc834836c24a6517c53a0a2436359e9b832212a.zip
FreeBSD-src-6cc834836c24a6517c53a0a2436359e9b832212a.tar.gz
Add some definitions for the DT_FLAGS_1 tag flags.
Reviewed by: kan
-rw-r--r--sys/sys/elf_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 34c0b3a..bf64a3b 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. */
OpenPOWER on IntegriCloud