aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-10-15 00:09:02 +0000
committerAlan Modra <amodra@gmail.com>2002-10-15 00:09:02 +0000
commit03bdc404054163a06f7121a2b83d581fca8058ee (patch)
treeb81e144ed342a5f69735891dca198c7b465be8cc /ld
parent50158c1ce3208aef8c1acadde15ec9975a17ee23 (diff)
downloadgdb-03bdc404054163a06f7121a2b83d581fca8058ee.zip
gdb-03bdc404054163a06f7121a2b83d581fca8058ee.tar.gz
gdb-03bdc404054163a06f7121a2b83d581fca8058ee.tar.bz2
* ldlang.c (load_symbols): Revert last change.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b132932..0fe7133 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/ldlang.c b/ld/ldlang.c
index f2bb9b2..d6b7d03 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);