do not output symbols which need relocs until the end

This commit is contained in:
Ian Lance Taylor
1995-10-26 23:39:19 +00:00
parent 230de6b868
commit bdaff47eb7

View 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