PR ld/12339
* ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
This commit is contained in:
parent
e6a6bb22ab
commit
a05e447ffb
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-01-14 J. Park <grassman@gmail.com>
|
||||
|
||||
PR ld/12339
|
||||
* ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
|
||||
|
||||
2011-01-14 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* Makefile.am: Sort emulation rules.
|
||||
|
|
|
@ -2089,6 +2089,9 @@ static bfd_boolean
|
|||
sort_def_symbol (struct bfd_link_hash_entry *hash_entry,
|
||||
void *info ATTRIBUTE_UNUSED)
|
||||
{
|
||||
if (hash_entry->type == bfd_link_hash_warning)
|
||||
hash_entry = (struct bfd_link_hash_entry *) hash_entry->u.i.link;
|
||||
|
||||
if (hash_entry->type == bfd_link_hash_defined
|
||||
|| hash_entry->type == bfd_link_hash_defweak)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue