about summary refs log tree commit diff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-29 23:01:54 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-29 23:01:54 +0000
commite3e0315c6d172e739b305936ef8a4c4e01141223 (patch)
tree0d59fbdc1fdd8995d798821fa29b6995ffaaab65 /elf/elf.h
parent2888c73821365427ec49390c0af20643b0f86cfd (diff)
downloadglibc-e3e0315c6d172e739b305936ef8a4c4e01141223.tar.gz
glibc-e3e0315c6d172e739b305936ef8a4c4e01141223.tar.xz
glibc-e3e0315c6d172e739b305936ef8a4c4e01141223.zip
Update.
	* elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 9df6a52a9c..3780054aca 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -490,6 +490,7 @@ typedef struct
 #define DT_VERSYM	0x6ffffff0
 
 /* These were chosen by Sun.  */
+#define DT_FLAGS_1	0x6ffffffb	/* State flags, see DF_1_* below.  */
 #define	DT_VERDEF	0x6ffffffc	/* Address of version definition
 					   table */
 #define	DT_VERDEFNUM	0x6ffffffd	/* Number of version definitions */
@@ -506,6 +507,16 @@ typedef struct
 #define DT_EXTRATAGIDX(tag)	((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)
 #define DT_EXTRANUM	3
 
+/* State flags selectable in the `d_un.d_val' element of the DT_FLAGS_1
+   entry in the dynamic section.  */
+#define DF_1_NOW	0x00000001	/* Set RTLD_NOW for this object.  */
+#define DF_1_GLOBAL	0x00000002	/* Set RTLD_GLOBAL for this object.  */
+#define DF_1_GROUP	0x00000004	/* Set RTLD_GROUP for this object.  */
+#define DF_1_NODELETE	0x00000008	/* Set RTLD_NODELETE for this object.*/
+#define DF_1_LOADFLTR	0x00000010	/* Trigger filtee loading at runtime.*/
+#define DF_1_INITFIRST	0x00000020	/* Set RTLD_INITFIRST for this object*/
+#define DF_1_NOOPEN	0x00000040	/* Set RTLD_NOOPEN for this object.  */
+
 /* Version definition sections.  */
 
 typedef struct