summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/OutputSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index e8b78815966..927d18a931e 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -456,7 +456,7 @@ template <class ELFT> void OutputSection::finalize() {
Sections.push_back(IS);
}
- if ((Flags & SHF_LINK_ORDER)) {
+ if (Flags & SHF_LINK_ORDER) {
std::stable_sort(Sections.begin(), Sections.end(), compareByFilePosition);
for (int I = 0, N = Sections.size(); I < N; ++I)
*ScriptSections[I] = Sections[I];
OpenPOWER on IntegriCloud