* ldlang.c (lang_one_common): Handle warning symbols.
This commit is contained in:
parent
2a41f39647
commit
5b4c94ad8d
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-06-08 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ldlang.c (lang_one_common): Handle warning symbols.
|
||||
|
||||
2011-06-03 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
|
||||
|
|
|
@ -5885,6 +5885,9 @@ lang_one_common (struct bfd_link_hash_entry *h, void *info)
|
|||
bfd_vma size;
|
||||
asection *section;
|
||||
|
||||
if (h->type == bfd_link_hash_warning)
|
||||
h = h->u.i.link;
|
||||
|
||||
if (h->type != bfd_link_hash_common)
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue