diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-06 00:55:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-06 00:55:46 +0000 |
commit | ec70c011557d0964dfc528d2d326d75526aec123 (patch) | |
tree | ca3440c580f185559c2d0508f968f27ee1630b45 /elf/elf.h | |
parent | 472d82fc06664bea2859cb94b4469c48af2d10d1 (diff) | |
download | glibc-ec70c011557d0964dfc528d2d326d75526aec123.tar.gz glibc-ec70c011557d0964dfc528d2d326d75526aec123.tar.xz glibc-ec70c011557d0964dfc528d2d326d75526aec123.zip |
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.h | 1 |
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. */ |