one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
[deliverable/binutils-gdb.git] / ld / ldlang.c
index 8f0c607b7a1cf9425fee90130dd72259a6d43c33..d43140f06b2fa4970b3833e848110fb1dd2df06f 100644 (file)
@@ -1864,8 +1864,10 @@ open_input_bfds (s, force)
 
              /* If we are being called from within a group, and this
                  is an archive which has already been searched, then
-                 force it to be researched.  */
+                 force it to be researched unless the whole archive
+                has been loaded already.  */
              if (force
+                 && !s->input_statement.whole_archive
                  && s->input_statement.loaded
                  && bfd_check_format (s->input_statement.the_bfd,
                                       bfd_archive))
This page took 0.023777 seconds and 4 git commands to generate.