*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ldlang.c
index c3761ba1686c2d8b32ca4bee041732010b81f102..6346a747b13e3328e243ad039c1f7c7f15f0966a 100644 (file)
@@ -985,7 +985,7 @@ section_already_linked (abfd, sec, data)
      of having link once sections in the first place.
 
      Also, not merging link once sections in a relocatable link
-     causes trouble for MIPS ELF, which relies in link once semantics
+     causes trouble for MIPS ELF, which relies on link once semantics
      to handle the .reginfo section correctly.  */
 
   name = bfd_get_section_name (abfd, sec);
@@ -1039,6 +1039,9 @@ section_already_linked (abfd, sec, data)
             section.  */
          sec->output_section = bfd_abs_section_ptr;
 
+         if (flags & SEC_GROUP)
+           bfd_discard_group (abfd, sec);
+
          return;
        }
     }
This page took 0.026613 seconds and 4 git commands to generate.