aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.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/x86_64.cc
parent7257cc92acfa8a53a200d9efa69913d3292c480f (diff)
downloadgdb-de4101c724d90aa753a39e04fd3e1f09c66e2c75.zip
gdb-de4101c724d90aa753a39e04fd3e1f09c66e2c75.tar.gz
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/x86_64.cc')
-rw-r--r--gold/x86_64.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index e61d7d1..0762926 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -3181,12 +3181,6 @@ Target_x86_64::Relocate::relocate_tls(const Relocate_info<64, 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;
- }
value = target->got_plt_section()->address() + got_offset;
this->tls_gd_to_ie(relinfo, relnum, tls_segment, rela, r_type,
value, view, address, view_size);