summary refs log tree commit diff
path: root/include/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h
index 0bb244da1b..ca3784bc66 100644
--- a/include/link.h
+++ b/include/link.h
@@ -256,20 +256,26 @@ struct link_map
       const ElfW(Sym) *ret;
     } l_lookup_cache;
 
+#ifdef USE_TLS
     /* Thread-local storage related info.  */
 
     /* Next module in list of initialization images.  */
     struct link_map *l_tls_nextimage;
+    /* Previous module in list of initialization images.  */
+    struct link_map *l_tls_previmage;
     /* Start of the initialization image.  */
     void *l_tls_initimage;
     /* Size of the initialization image.  */
     size_t l_tls_initimage_size;
     /* Size of the TLS block.  */
     size_t l_tls_blocksize;
+    /* Alignment rquirement of the TLS block.  */
+    size_t l_tls_align;
     /* For objects present at startup time: offset in the static TLS block.  */
     ptrdiff_t l_tls_offset;
     /* Index of the module in the dtv array.  */
     size_t l_tls_modid;
+#endif
   };
 
 struct dl_phdr_info