]> Git Repo - binutils.git/blobdiff - bfd/elf32-xtensa.c
Fix decision about when a .interp section should exist
[binutils.git] / bfd / elf32-xtensa.c
index 31adf3baffe7d9af13f454f9d9efcd2c40e4c39d..e8c276b194174bf7851461fb54206b714d713a1a 100644 (file)
@@ -1176,7 +1176,7 @@ elf_xtensa_size_dynamic_sections (output_bfd, info)
   if (elf_hash_table (info)->dynamic_sections_created)
     {
       /* Set the contents of the .interp section to the interpreter.  */
-      if (! info->shared)
+      if (info->executable)
        {
          s = bfd_get_section_by_name (dynobj, ".interp");
          if (s == NULL)
This page took 0.023389 seconds and 4 git commands to generate.