1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
2002-02-05 08:38:38 +00:00
parent a2f1f5cb89
commit 96f208a425
3 changed files with 43 additions and 0 deletions

View File

@ -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;