From: Alan Modra Date: Tue, 15 Oct 2002 00:09:02 +0000 (+0000) Subject: * ldlang.c (load_symbols): Revert last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03bdc404054163a06f7121a2b83d581fca8058ee;p=binutils-gdb.git * ldlang.c (load_symbols): Revert last change. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index b1329327a6c..0fe7133e6cd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2002-10-15 Alan Modra + + * ldlang.c (load_symbols): Revert last change. + 2002-10-14 Alan Modra * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when diff --git a/ld/ldlang.c b/ld/ldlang.c index f2bb9b29aed..d6b7d03b335 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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);