Removed excessive line. NFC.

llvm-svn: 266303
This commit is contained in:
George Rimar 2016-04-14 13:56:28 +00:00
parent 0fa18b8923
commit 2122168912
1 changed files with 1 additions and 2 deletions

View File

@ -880,9 +880,8 @@ template <class ELFT> static uint32_t getAlignment(SharedSymbol<ELFT> *SS) {
template <class ELFT>
void Writer<ELFT>::addCopyRelSymbol(SharedSymbol<ELFT> *SS) {
ensureBss();
uintX_t Off = Out<ELFT>::Bss->getSize();
uintX_t Align = getAlignment(SS);
Off = alignTo(Off, Align);
uintX_t Off = alignTo(Out<ELFT>::Bss->getSize(), Align);
Out<ELFT>::Bss->setSize(Off + SS->template getSize<ELFT>());
Out<ELFT>::Bss->updateAlign(Align);
uintX_t Shndx = SS->Sym.st_shndx;