aboutsummaryrefslogtreecommitdiff
path: root/bfd/sparclinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/sparclinux.c')
-rw-r--r--bfd/sparclinux.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/sparclinux.c b/bfd/sparclinux.c
index 7bb10d8..b7fef22 100644
--- a/bfd/sparclinux.c
+++ b/bfd/sparclinux.c
@@ -1,6 +1,7 @@
/* BFD back-end for linux flavored sparc a.out binaries.
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011
+ Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -433,9 +434,6 @@ linux_tally_symbols (struct linux_link_hash_entry *h, void * data)
struct linux_link_hash_entry *h1, *h2;
bfd_boolean exists;
- if (h->root.root.type == bfd_link_hash_warning)
- h = (struct linux_link_hash_entry *) h->root.root.u.i.link;
-
if (h->root.root.type == bfd_link_hash_undefined
&& CONST_STRNEQ (h->root.root.root.string, NEEDS_SHRLIB))
{