do not output symbols which need relocs until the end
authorIan Lance Taylor <ian@airs.com>
Thu, 26 Oct 1995 23:39:19 +0000 (23:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 26 Oct 1995 23:39:19 +0000 (23:39 +0000)
bfd/xcofflink.c

index 290643b..dda5cd8 100644 (file)
@@ -3546,14 +3546,6 @@ xcoff_link_input_bfd (finfo, input_bfd)
            skip = true;
        }
 
-      /* On the other hand, we can't skip global symbols which have
-         relocs against them.  */
-      if (skip
-         && isym.n_sclass == C_EXT
-         && (*sym_hash)->indx == -2
-         && finfo->info->strip != strip_all)
-       skip = false;
-
       /* We can not skip the first TOC anchor.  */
       if (skip
          && require