aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/xcofflink.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c
index 290643b..dda5cd8 100644
--- a/bfd/xcofflink.c
+++ b/bfd/xcofflink.c
@@ -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