diff options
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index a6e0f96..c656ac1 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -868,8 +868,7 @@ elf_link_add_object_symbols (abfd, info) h = *hpp; if (h != NULL && h != hlook - && (h->root.type == bfd_link_hash_defined - || h->root.type == bfd_link_hash_defweak) + && h->root.type == bfd_link_hash_defined && h->root.u.def.section == slook && h->root.u.def.value == vlook) { |