From e3e0315c6d172e739b305936ef8a4c4e01141223 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 29 Jul 1998 23:01:54 +0000 Subject: [PATCH] Update. * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions. --- ChangeLog | 2 ++ elf/elf.h | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 58849d7..8641b8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM, EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values. + * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions. + 1998-07-29 Mark Kettenis * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function. diff --git a/elf/elf.h b/elf/elf.h index 9df6a52..3780054 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 -- 2.7.4