about summary refs log tree commit diff
path: root/sysdeps/generic/ldsodefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-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).  */