mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 15:18:53 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user