forked from OSchip/llvm-project
Delete dead code.
We already handle this is createSections. llvm-svn: 281320
This commit is contained in:
parent
85bbda191d
commit
540893a2e2
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue