https://sourceware.org/bugzilla/show_bug.cgi?id=17556
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- This works: diff --git a/gold/layout.cc b/gold/layout.cc index b83e8e6e2d..a8f6525cb0 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -868,16 +868,6 @@ Layout::get_output_section(const char* name, Stringpool::Key name_key, && (same_name->flags() & elfcpp::SHF_TLS) == 0) os = same_name; } - else if ((flags & elfcpp::SHF_TLS) == 0) - { - elfcpp::Elf_Xword zero_flags = 0; - const Key zero_key(name_key, std::make_pair(lookup_type, - zero_flags)); - Section_name_map::iterator p = - this->section_name_map_.find(zero_key); - if (p != this->section_name_map_.end()) - os = p->second; - } } -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils