summaryrefslogtreecommitdiff
path: root/bfd/elf32-score7.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-score7.c')
-rw-r--r--bfd/elf32-score7.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bfd/elf32-score7.c b/bfd/elf32-score7.c
index 9ce3bf1dea..3e98bfc45a 100644
--- a/bfd/elf32-score7.c
+++ b/bfd/elf32-score7.c
@@ -1,5 +1,5 @@
/* 32-bit ELF support for S+core.
- Copyright 2009, 2010 Free Software Foundation, Inc.
+ Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by
Brain.lin (brain.lin@sunplusct.com)
Mei Ligang (ligang@sunnorth.com.cn)
@@ -920,9 +920,6 @@ score_elf_sort_hash_table_f (struct score_elf_link_hash_entry *h, void *data)
{
struct score_elf_hash_sort_data *hsd = data;
- if (h->root.root.type == bfd_link_hash_warning)
- h = (struct score_elf_link_hash_entry *) h->root.root.u.i.link;
-
/* Symbols without dynamic symbol table entries aren't interesting at all. */
if (h->root.dynindx == -1)
return TRUE;