From ec70c011557d0964dfc528d2d326d75526aec123 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 6 Feb 2002 00:55:46 +0000 Subject: 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. --- elf/elf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'elf/elf.h') 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. */ -- cgit v1.2.3