mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* ldlang.c (lang_one_common): Handle warning symbols.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user