* opncls.c (bfd_zalloc): Document this function.
[deliverable/binutils-gdb.git] / ld / ldlang.c
index 878e15fab5584e82572f4ba1c057a8066a8cca1c..636dc7f5c475a92e1bac8b7b1a3dbdb066cb606e 100644 (file)
@@ -1274,7 +1274,8 @@ section_already_linked (bfd *abfd, asection *sec, void *data)
       return;
     }
 
-  bfd_section_already_linked (abfd, sec);
+  if (!(abfd->flags & DYNAMIC))
+    bfd_section_already_linked (abfd, sec);
 }
 \f
 /* The wild routines.
This page took 0.023061 seconds and 4 git commands to generate.