* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL
[deliverable/binutils-gdb.git] / bfd / elf-bfd.h
index 625f11b07e87c7a9ff7b2310e763267f2f403ee9..f2c807529bad91b40ce047af6f3c6bf4c3141b7a 100644 (file)
@@ -234,6 +234,14 @@ enum elf_link_info_type
   ELF_INFO_TYPE_LAST
 };
 
+/* Cached start, size and alignment of PT_TLS segment.  */
+struct elf_link_tls_segment
+{
+  bfd_vma start;
+  bfd_size_type size;
+  unsigned int align;
+};
+
 /* ELF linker hash table.  */
 
 struct elf_link_hash_table
@@ -286,6 +294,9 @@ struct elf_link_hash_table
   /* A linked list of DT_RPATH/DT_RUNPATH names found in dynamic
      objects included in the link.  */
   struct bfd_link_needed_list *runpath;
+
+  /* Cached start, size and alignment of PT_TLS segment.  */
+  struct elf_link_tls_segment *tls_segment;
 };
 
 /* Look up an entry in an ELF linker hash table.  */
This page took 0.024145 seconds and 4 git commands to generate.