forked from OSchip/llvm-project
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:
parent
98b74fc7d6
commit
f2c41271ca
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue