diff options
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 6ccf625..fa805bc 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -4498,6 +4498,7 @@ error_free_dyn: --no-add-needed is used and the reference was not a weak one. */ if (undef_bfd != NULL + && h->ref_regular_nonweak && (elf_dyn_lib_class (abfd) & DYN_NO_NEEDED) != 0) { (*_bfd_error_handler) |