diff options
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index ec31310d65..cb56a8d85f 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -1523,6 +1523,13 @@ notice (struct bfd_link_info *info, asection *section, bfd_vma value) { + if (name == NULL) + { + if (command_line.cref || nocrossref_list != NULL) + return handle_asneeded_cref (abfd, value); + return TRUE; + } + if (! info->notice_all || (info->notice_hash != NULL && bfd_hash_lookup (info->notice_hash, name, FALSE, FALSE) != NULL)) |