* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL
[deliverable/binutils-gdb.git] / ld / ldwrite.c
index 1296a7dfe701b0cc2aaafc5f626cbe777045b4f2..e5949c1550be99730c6c1caf25fa0753036146a6 100644 (file)
@@ -233,7 +233,9 @@ build_link_order (statement)
 
          ASSERT (output_section->owner == output_bfd);
 
-         if ((output_section->flags & SEC_HAS_CONTENTS) != 0)
+         if ((output_section->flags & SEC_HAS_CONTENTS) != 0
+             || ((output_section->flags & SEC_LOAD) != 0
+                 && (output_section->flags & SEC_THREAD_LOCAL)))
            {
              struct bfd_link_order *link_order;
 
This page took 0.025185 seconds and 4 git commands to generate.