summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/SectionChunks.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/SectionChunks.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/SectionChunks.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SectionChunks.h b/lld/lib/ReaderWriter/ELF/SectionChunks.h
index bb53ad7c524..101089dec22 100644
--- a/lld/lib/ReaderWriter/ELF/SectionChunks.h
+++ b/lld/lib/ReaderWriter/ELF/SectionChunks.h
@@ -81,7 +81,6 @@ public:
for (auto &ai : _atoms) {
ai->_virtualAddr = addr + ai->_fileOffset;
}
- addr += this->memSize();
}
/// \brief Set the file offset of each Atom in the section. This routine
OpenPOWER on IntegriCloud