* bfd-in.h (_bfd_elf_tls_setup): Declare.
[deliverable/binutils-gdb.git] / ld / emultempl / elf32.em
index 33cff6aca64bc6d4cb3a2cdc0f7ba4f1e2604c05..6e1f815d5fe8c1527946c52b48a43ada164ae381 100644 (file)
@@ -845,6 +845,9 @@ gld${EMULATION_NAME}_before_allocation (void)
   const char *rpath;
   asection *sinterp;
 
+  if (link_info.hash->creator->flavour == bfd_target_elf_flavour)
+    _bfd_elf_tls_setup (output_bfd, &link_info);
+
   /* If we are going to make any variable assignments, we need to let
      the ELF backend know about them in case the variables are
      referred to by dynamic objects.  */
This page took 0.023538 seconds and 4 git commands to generate.