]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/ecoff.c
Skip an archive element if not added by linker
[thirdparty/binutils-gdb.git] / bfd / ecoff.c
index 031abdfef1427de6ff814e7c3f34b9c0a977522f..d618572eaf7e4d6ccb80f86356e85a66b35a042b 100644 (file)
@@ -3544,9 +3544,9 @@ ecoff_link_check_archive_element (bfd *abfd,
   if (h->type != bfd_link_hash_undefined)
     return TRUE;
 
-  /* Include this element.  */
+  /* Include this element?  */
   if (!(*info->callbacks->add_archive_element) (info, abfd, name, &abfd))
-    return FALSE;
+    return TRUE;
   *pneeded = TRUE;
 
   return ecoff_link_add_object_symbols (abfd, info);