mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
PR gold/13359
* i386.cc (Target_i386::Relocate::relocate_tls): Remove unnecessary assertion. * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2011-10-31 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
|
PR gold/13359
|
||||||
|
* i386.cc (Target_i386::Relocate::relocate_tls): Remove
|
||||||
|
unnecessary assertion.
|
||||||
|
* x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.
|
||||||
|
|
||||||
2011-10-31 Sriraman Tallam <tmsriram@google.com>
|
2011-10-31 Sriraman Tallam <tmsriram@google.com>
|
||||||
|
|
||||||
* symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
|
* symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
|
||||||
|
@ -2709,12 +2709,6 @@ Target_i386::Relocate::relocate_tls(const Relocate_info<32, false>* relinfo,
|
|||||||
}
|
}
|
||||||
if (optimized_type == tls::TLSOPT_TO_IE)
|
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,
|
this->tls_gd_to_ie(relinfo, relnum, tls_segment, rel, r_type,
|
||||||
got_offset, view, view_size);
|
got_offset, view, view_size);
|
||||||
break;
|
break;
|
||||||
|
@ -3181,12 +3181,6 @@ Target_x86_64::Relocate::relocate_tls(const Relocate_info<64, false>* relinfo,
|
|||||||
}
|
}
|
||||||
if (optimized_type == tls::TLSOPT_TO_IE)
|
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;
|
value = target->got_plt_section()->address() + got_offset;
|
||||||
this->tls_gd_to_ie(relinfo, relnum, tls_segment, rela, r_type,
|
this->tls_gd_to_ie(relinfo, relnum, tls_segment, rela, r_type,
|
||||||
value, view, address, view_size);
|
value, view, address, view_size);
|
||||||
|
Reference in New Issue
Block a user