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
commitc69ba956e3ea3f41672cd3bf4d9d27f91d6849c0 (patch)
tree8ea6b3f03ac2773219fe94a389195db02e4090d0 /bfd/elflink.c
parent952781e82cc7dd01165447f137ea88f83f2c6bdf (diff)
downloadbinutils-gdb-c69ba956e3ea3f41672cd3bf4d9d27f91d6849c0.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 8a2bf3f235c..99a1ddfa3d7 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)