projects
/
external
/
binutils.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
eda589f
..
aebb206
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
7cf5108
..
6289f2f
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;