diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-05 08:38:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-05 08:38:38 +0000 |
commit | 96f208a4255e322fbd497939e5ddf893b04a5699 (patch) | |
tree | 21cc69fd3e43078066398fa8e4821c6e61fba3b8 /elf/dl-support.c | |
parent | a2f1f5cb89a809e819b64bb9819b845f7c234ae2 (diff) | |
download | glibc-96f208a4255e322fbd497939e5ddf893b04a5699.tar.gz |
Update.
* elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program
header entry.
* elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt.
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r-- | elf/dl-support.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c index 9a9436e498..10446dc68a 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -137,6 +137,16 @@ int _dl_correct_cache_id = _DL_CACHE_DEFAULT_ID; At this time it is not anymore a problem to modify the tables. */ __libc_lock_define_initialized_recursive (, _dl_load_lock) +#ifdef USE_TLS +/* Beginning of the list of link maps for objects which contain + thread-local storage sections. This will be traversed to + initialize new TLS blocks. */ +struct link_map *_dl_initimage_list; + +/* Count the number of modules which define TLS data. */ +size_t _dl_tls_module_cnt; +#endif + #ifdef HAVE_AUX_VECTOR int _dl_clktck; |