diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elflink.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 6fa18d9..f852142 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -1294,9 +1294,8 @@ _bfd_elf_merge_symbol (bfd *abfd, h->root.non_ir_ref_dynamic = true; hi->root.non_ir_ref_dynamic = true; } - - if ((oldbfd->flags & BFD_PLUGIN) != 0 - && hi->root.type == bfd_link_hash_indirect) + else if ((oldbfd->flags & BFD_PLUGIN) != 0 + && hi->root.type == bfd_link_hash_indirect) { /* Change indirect symbol from IR to undefined. */ hi->root.type = bfd_link_hash_undefined; |