aboutsummaryrefslogtreecommitdiff
path: root/gold/i386.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-10-31 22:33:04 +0000
committerCary Coutant <ccoutant@google.com>2011-10-31 22:33:04 +0000
commitde4101c724d90aa753a39e04fd3e1f09c66e2c75 (patch)
tree02c405c950e9ed2d3121c874da859b703acbe45c /gold/i386.cc
parent7257cc92acfa8a53a200d9efa69913d3292c480f (diff)
downloadfsf-binutils-gdb-de4101c724d90aa753a39e04fd3e1f09c66e2c75.zip
fsf-binutils-gdb-de4101c724d90aa753a39e04fd3e1f09c66e2c75.tar.gz
fsf-binutils-gdb-de4101c724d90aa753a39e04fd3e1f09c66e2c75.tar.bz2
PR gold/13359
* i386.cc (Target_i386::Relocate::relocate_tls): Remove unnecessary assertion. * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r--gold/i386.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/gold/i386.cc b/gold/i386.cc
index 445bc68..191a915 100644
--- a/gold/i386.cc
+++ b/gold/i386.cc
@@ -2709,12 +2709,6 @@ Target_i386::Relocate::relocate_tls(const Relocate_info<32, false>* relinfo,
}
if (optimized_type == tls::TLSOPT_TO_IE)
{
- if (tls_segment == NULL)
- {
- gold_assert(parameters->errors()->error_count() > 0
- || issue_undefined_symbol_error(gsym));
- return;
- }
this->tls_gd_to_ie(relinfo, relnum, tls_segment, rel, r_type,
got_offset, view, view_size);
break;