summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/SyntheticSections.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 8378aef6f2f..fe0902a5e15 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -263,9 +263,7 @@ static size_t getHashSize() {
template <class ELFT>
BuildIdSection<ELFT>::BuildIdSection()
: SyntheticSection<ELFT>(SHF_ALLOC, SHT_NOTE, 1, ".note.gnu.build-id"),
- HashSize(getHashSize()) {
- this->Live = true;
-}
+ HashSize(getHashSize()) {}
template <class ELFT> void BuildIdSection<ELFT>::writeTo(uint8_t *Buf) {
const endianness E = ELFT::TargetEndianness;
OpenPOWER on IntegriCloud