[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sectio
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections |
Date: |
Fri, 21 Jun 2019 17:50:38 +0000 |
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 gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections, hjl.tools at gmail dot com, 2019/06/21
- [Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections, hjl.tools at gmail dot com, 2019/06/21
- [Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections, fweimer at redhat dot com, 2019/06/21
- [Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections, hjl.tools at gmail dot com, 2019/06/21
- [Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections,
hjl.tools at gmail dot com <=
- [Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections, hjl.tools at gmail dot com, 2019/06/21
- [Bug gold/17556] crashing when mixing SHF_ALLOC and non SHF_ALLOC sections, hjl.tools at gmail dot com, 2019/06/24