diff options
author | Rui Ueyama <ruiu@google.com> | 2019-01-09 22:24:27 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2019-01-09 22:24:27 +0000 |
commit | e574d21647f668ae4fd34f292370b22455321c54 (patch) | |
tree | 5a267efd8a62bbf5bc97ed3646d9ebd375c86854 /lld | |
parent | f6fbd43530469799c51adcc49778d9acfbb74b1b (diff) |
Fix formatting. NFC.
Diffstat (limited to 'lld')
-rw-r--r-- | lld/ELF/MarkLive.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp index 817a0c8b65f..8d0ec091c32 100644 --- a/lld/ELF/MarkLive.cpp +++ b/lld/ELF/MarkLive.cpp @@ -250,9 +250,10 @@ template <class ELFT> static void doGcSections() { if (Sec->Flags & SHF_LINK_ORDER) continue; - if (isReserved<ELFT>(Sec) || Script->shouldKeep(Sec)) + + if (isReserved<ELFT>(Sec) || Script->shouldKeep(Sec)) { Enqueue(Sec, 0); - else if (isValidCIdentifier(Sec->Name)) { + } else if (isValidCIdentifier(Sec->Name)) { CNamedSections[Saver.save("__start_" + Sec->Name)].push_back(Sec); CNamedSections[Saver.save("__stop_" + Sec->Name)].push_back(Sec); } |