summaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-05 09:08:28 +0000
committerNick Clifton <nickc@redhat.com>2013-04-05 09:08:28 +0000
commit18153e2376b767acd5612d8a567fc1dade6839ae (patch)
tree5cb921576cd3149d17c6c35e890b27b726522ddb /bfd/elflink.c
parentcd33434d8c8d21bfbdc5858aaeb89f8694e9b0f0 (diff)
downloadbinutils-redhat-18153e2376b767acd5612d8a567fc1dade6839ae.tar.gz
* elflink.c (elf_link_add_object_symbols): Revert accidental commit.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 8a2bf3f235..99a1ddfa3d 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -4437,7 +4437,6 @@ error_free_dyn:
--no-add-needed is used and the reference was not
a weak one. */
if (old_bfd != NULL
- && h->ref_regular_nonweak
&& (elf_dyn_lib_class (abfd) & DYN_NO_NEEDED) != 0)
{
(*_bfd_error_handler)