* ldlang.c (load_symbols): Revert last change.
authorAlan Modra <amodra@gmail.com>
Tue, 15 Oct 2002 00:09:02 +0000 (00:09 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Oct 2002 00:09:02 +0000 (00:09 +0000)
ld/ChangeLog
ld/ldlang.c

index b1329327a6cc5d8c123b8024dc0022a4a1d39f6b..0fe7133e6cdbb64131ebbc48c55584ed4c0739b6 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (load_symbols): Revert last change.
+
 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
 
        * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
index f2bb9b29aed209c2837c1230576a7412e0ee7f53..d6b7d03b33519a15445472ada6f4963cf0dfd3d5 100644 (file)
@@ -1590,9 +1590,7 @@ load_symbols (entry, place)
       break;
     }
 
-  if (entry->just_syms_flag)
-    entry->loaded = true;
-  else if (bfd_link_add_symbols (entry->the_bfd, &link_info))
+  if (bfd_link_add_symbols (entry->the_bfd, &link_info))
     entry->loaded = true;
   else
     einfo (_("%F%B: could not read symbols: %E\n"), entry->the_bfd);