summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2017-01-27 11:06:23 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2017-01-27 11:06:23 +0000
commitbcff495b851bc903783442b56f9805de566a192c (patch)
treea7f2305dc6bdf26cf70cdca9e32feaf72fdcfcb3
parentcfe5ef589ae0865aa098ac26203feff83faded5e (diff)
downloadbcm5719-llvm-bcff495b851bc903783442b56f9805de566a192c.tar.gz
bcm5719-llvm-bcff495b851bc903783442b56f9805de566a192c.zip
[ELF] Fixed formatting. NFC
llvm-svn: 293278
-rw-r--r--lld/ELF/OutputSections.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 32fe19b2f8c..b726582e548 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -651,10 +651,10 @@ OutputSectionFactory<ELFT>::create(const SectionKey &Key,
error("Section has flags incompatible with others with the same name " +
toString(C));
- // Convert notbits to progbits if they are mixed. This happens is some
- // linker scripts.
- if (Sec->Type == SHT_NOBITS && C->Type == SHT_PROGBITS)
- Sec->Type = SHT_PROGBITS;
+ // Convert notbits to progbits if they are mixed. This happens is some
+ // linker scripts.
+ if (Sec->Type == SHT_NOBITS && C->Type == SHT_PROGBITS)
+ Sec->Type = SHT_PROGBITS;
if (!IsScripted && Sec->Type != C->Type &&
!(Sec->Type == SHT_PROGBITS && C->Type == SHT_NOBITS))
error("Section has different type from others with the same name " +
OpenPOWER on IntegriCloud