From: Ian Lance Taylor Date: Mon, 5 Aug 1996 20:28:39 +0000 (+0000) Subject: * ldcref.c (check_nocrossref): Skip symbols with no output X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6bb21dd35676c9bbd1f76451394a1ef91f19a37f;p=deliverable%2Fbinutils-gdb.git * ldcref.c (check_nocrossref): Skip symbols with no output sections. --- diff --git a/ld/ldcref.c b/ld/ldcref.c index 369cd6230b..fb1eea8c28 100644 --- a/ld/ldcref.c +++ b/ld/ldcref.c @@ -374,6 +374,8 @@ check_nocrossref (h, ignore) return true; defsec = hl->u.def.section->output_section; + if (defsec == NULL) + return true; defsecname = bfd_get_section_name (defsec->owner, defsec); for (ncrs = nocrossref_list; ncrs != NULL; ncrs = ncrs->next)