aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c4
1 files changed, 1 insertions, 3 deletions
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);