Delete dead code.

We already handle this is createSections.

llvm-svn: 281320
This commit is contained in:
Rafael Espindola 2016-09-13 11:28:22 +00:00
parent 85bbda191d
commit 540893a2e2
1 changed files with 0 additions and 3 deletions

View File

@ -411,9 +411,6 @@ template <class ELFT> void LinkerScript<ELFT>::assignAddresses() {
if (Cmd->AddrExpr)
Dot = Cmd->AddrExpr(Dot);
if (Cmd->AlignExpr)
Sec->updateAlignment(Cmd->AlignExpr(Dot));
if ((Sec->getFlags() & SHF_TLS) && Sec->getType() == SHT_NOBITS) {
uintX_t TVA = Dot + ThreadBssOffset;
TVA = alignTo(TVA, Sec->getAlignment());