Delete dead code.

The real offsets are computed in assignAddresses and we compute the
special cases we need earlier after this.

llvm-svn: 304950
This commit is contained in:
Rafael Espindola 2017-06-07 22:57:52 +00:00
parent 98b74fc7d6
commit f2c41271ca
1 changed files with 0 additions and 3 deletions

View File

@ -998,9 +998,6 @@ template <class ELFT> void Writer<ELFT>::createSections() {
sortInitFini(findSection(".fini_array"));
sortCtorsDtors(findSection(".ctors"));
sortCtorsDtors(findSection(".dtors"));
for (OutputSection *Sec : OutputSections)
Sec->assignOffsets();
}
// We want to find how similar two ranks are.