about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-05 08:25:04 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-05 08:25:04 +0000
commita2f1f5cb89a809e819b64bb9819b845f7c234ae2 (patch)
tree1fcca336b3a5062df625e0b64976b8098f9a25d0 /sysdeps
parent5d6feea8f54fe67cbeb7c35e35539b2efd4ead29 (diff)
downloadglibc-a2f1f5cb89a809e819b64bb9819b845f7c234ae2.tar.gz
glibc-a2f1f5cb89a809e819b64bb9819b845f7c234ae2.tar.xz
glibc-a2f1f5cb89a809e819b64bb9819b845f7c234ae2.zip
Update.
2002-02-05  Ulrich Drepper  <drepper@redhat.com>

	* elf/rtld.c (dl_main): Read PT_TLS entry of the executable.
	* sysdeps/generic/ldsodefs.h (struct rtld_global): Add
	_dl_tls_module_cnt.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/ldsodefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 4e4fecf712..75f82bdd95 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -292,6 +292,9 @@ struct rtld_global
      thread-local storage sections.  This will be traversed to
      initialize new TLS blocks.  */
   EXTERN struct link_map *_dl_initimage_list;
+
+  /* Count the number of modules which define TLS data.  */
+  EXTERN size_t _dl_tls_module_cnt;
 #endif
 
   /* Name of the shared object to be profiled (if any).  */