* ldcref.c (check_nocrossref): Skip symbols with no output

sections.
This commit is contained in:
Ian Lance Taylor 1996-08-05 20:28:39 +00:00
parent 3d7b0c499b
commit 6bb21dd356

View File

@ -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)