* ldcref.c (check_nocrossref): Skip symbols with no output
authorIan Lance Taylor <ian@airs.com>
Mon, 5 Aug 1996 20:28:39 +0000 (20:28 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 5 Aug 1996 20:28:39 +0000 (20:28 +0000)
sections.

ld/ldcref.c

index 369cd6230bb6bea2405c120285ef8101105e66bf..fb1eea8c2850f2854da637f494ad500c844fdb88 100644 (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)
This page took 0.024378 seconds and 4 git commands to generate.