aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 6e0f2d0..980e11c 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -5035,12 +5035,11 @@ elf_adjust_dynamic_symbol (h, data)
weakdef = h->weakdef;
BFD_ASSERT (weakdef->root.type == bfd_link_hash_defined);
BFD_ASSERT (weakdef->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC);
- if ((weakdef->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) != 0
- || (weakdef->elf_link_hash_flags & ELF_LINK_HASH_REF_REGULAR) != 0)
+ if ((weakdef->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) != 0)
{
- /* This symbol is defined or referenced by a regular object
- file, so we will not do anything special. Clear weakdef
- for the convenience of the processor backend. */
+ /* This symbol is defined by a regular object file, so we
+ will not do anything special. Clear weakdef for the
+ convenience of the processor backend. */
h->weakdef = NULL;
}
else