Michael Spencer via Phabricator <reviews at reviews.llvm.org> writes: > + if (OutputSection *Sec = findSection(".text")) > + Sec->sort([&](InputSectionBase *S) { return OrderMap.lookup(S); }); Why is this done just for .text? We should be able to sort any section, no? Cheers, Rafael