projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
weakdef list handling
[deliverable/binutils-gdb.git]
/
bfd
/
elflink.c
diff --git
a/bfd/elflink.c
b/bfd/elflink.c
index 122549c594b1034553383200abe225f1146cf95d..72886d57e50d2bdad83c3930c364fe01063e79f6 100644
(file)
--- a/
bfd/elflink.c
+++ b/
bfd/elflink.c
@@
-5145,10
+5145,10
@@
error_free_dyn:
weaks = hlook->u.weakdef;
hlook->u.weakdef = NULL;
weaks = hlook->u.weakdef;
hlook->u.weakdef = NULL;
-
BFD_ASSERT (hlook->root.type =
= bfd_link_hash_defined
- || hlook->root.type == bfd_link_hash_defweak
- || hlook->root.type == bfd_link_hash_common
- || hlook->root.type == bfd_link_hash_indirect);
+
if (hlook->root.type !
= bfd_link_hash_defined
+ && hlook->root.type != bfd_link_hash_defweak)
+ continue;
+
slook = hlook->root.u.def.section;
vlook = hlook->root.u.def.value;
slook = hlook->root.u.def.section;
vlook = hlook->root.u.def.value;
This page took
0.024715 seconds
and
4
git commands to generate.