projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a41f39
)
* ldlang.c (lang_one_common): Handle warning symbols.
author
Alan Modra
<amodra@gmail.com>
Tue, 7 Jun 2011 23:58:30 +0000
(23:58 +0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 7 Jun 2011 23:58:30 +0000
(23:58 +0000)
ld/ChangeLog
patch
|
blob
|
history
ld/ldlang.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index eda589ff0522b2ba77016e5e58dc99d6a6b2d291..aebb20657a096bb4397b32dbdd5987c2fd98da8c 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-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
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index 7cf5108e4790d6e5aff16792238b3752e0b662fb..6289f2f866f180b53bca24e264049c0c6067061f 100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.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;