summaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-06 00:55:46 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-06 00:55:46 +0000
commitec70c011557d0964dfc528d2d326d75526aec123 (patch)
treeca3440c580f185559c2d0508f968f27ee1630b45 /elf/elf.h
parent472d82fc06664bea2859cb94b4469c48af2d10d1 (diff)
Update.
* elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically loading modules with the DF_STATIC_TLS flag set. * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags element. * include/link.h (struct link_map): Add l_flags field. * elf/elf.h (DF_STATIC_TLS): New definition.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index d333b4e003..f43fbf8d22 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -730,6 +730,7 @@ typedef struct
#define DF_SYMBOLIC 0x00000002 /* Symbol resolutions starts here */
#define DF_TEXTREL 0x00000004 /* Object contains text relocations */
#define DF_BIND_NOW 0x00000008 /* No lazy binding for this object */
+#define DF_STATIC_TLS 0x00000010 /* Module uses the static TLS model */
/* State flags selectable in the `d_un.d_val' element of the DT_FLAGS_1
entry in the dynamic section. */