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 290643bef30ecb6def4d83f4cd128425be8923c1..dda5cd823f2bb0384b9797e9dc4cd08b92e239c0 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