Fix compile time warnings generated when compiling with clang.
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index 3f708cb171369a8962c42a11a11c06c2e03a25d8..708076d65e8d74515d992c033d92d7cf6764610a 100644 (file)
@@ -6191,7 +6191,7 @@ ppc_elf_size_dynamic_sections (bfd *output_bfd,
   if (elf_hash_table (info)->dynamic_sections_created)
     {
       /* Set the contents of the .interp section to the interpreter.  */
-      if (bfd_link_executable (info))
+      if (bfd_link_executable (info) && !info->nointerp)
        {
          s = bfd_get_linker_section (htab->elf.dynobj, ".interp");
          BFD_ASSERT (s != NULL);
This page took 0.025963 seconds and 4 git commands to generate.