[lld][ELF] Remove invalid comment

llvm-svn: 191207
This commit is contained in:
Shankar Easwaran 2013-09-23 16:28:23 +00:00
parent 22639407d7
commit e67ba51791
1 changed files with 1 additions and 3 deletions

View File

@ -757,11 +757,9 @@ DefaultLayout<ELFT>::assignVirtualAddress() {
continue;
if (si->segmentType() == llvm::ELF::PT_NULL) {
// Handle Non allocatable sections.
uint64_t nonLoadableAddr = 0;
si->setVAddr(nonLoadableAddr);
// The first segment has the virtualAddress set to the base address as
// we have added the file header and the program header dont align the
// first segment to the pagesize
si->assignVirtualAddress(nonLoadableAddr);
} else {
si->setVAddr(virtualAddress);