powerpc TLS in PIEs
[deliverable/binutils-gdb.git] / bfd / elf32-score7.c
index 5554cccbb5b9d6a0607a7e16d8f92e7cf5dea1f9..17f5f9d2900c01acb4587297a9e4347b07c055d4 100644 (file)
@@ -3071,7 +3071,7 @@ s7_bfd_score_elf_size_dynamic_sections (bfd *output_bfd, struct bfd_link_info *i
   if (elf_hash_table (info)->dynamic_sections_created)
     {
       /* Set the contents of the .interp section to the interpreter.  */
-      if (!bfd_link_pic (info) && !info->nointerp)
+      if (bfd_link_executable (info) && !info->nointerp)
         {
           s = bfd_get_linker_section (dynobj, ".interp");
           BFD_ASSERT (s != NULL);
This page took 0.022923 seconds and 4 git commands to generate.