summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-02-18 15:17:01 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-02-18 15:17:01 +0000
commite9e1d323c6811e1bd065f7003cb938906f8e5984 (patch)
tree97e3c5d1a0f811f0e2985e893a39a02cf5920e61
parent9bec24ab88214a990f727f3115fe3552c614d693 (diff)
downloadbcm5719-llvm-e9e1d323c6811e1bd065f7003cb938906f8e5984.tar.gz
bcm5719-llvm-e9e1d323c6811e1bd065f7003cb938906f8e5984.zip
Fixed comments formatting. NFC.
llvm-svn: 261214
-rw-r--r--lld/ELF/InputSection.cpp2
-rw-r--r--lld/ELF/OutputSections.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 5c4efb651cc..7a6b7d0edab 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -273,7 +273,7 @@ EHInputSection<ELFT>::EHInputSection(ObjectFile<ELFT> *F,
: SplitInputSection<ELFT>(F, Header, InputSectionBase<ELFT>::EHFrame) {
// Mark .eh_frame sections as live by default because there are
// usually no relocations that point to .eh_frames. Otherwise,
- // the garbage collector would drop all .eh_frame sections.
+ // the garbage collector would drop all .eh_frame sections.
this->Live = true;
}
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 013f09116a1..19337fb86a8 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -315,7 +315,7 @@ static uint32_t hashSysv(StringRef Name) {
template <class ELFT> void HashTableSection<ELFT>::finalize() {
this->Header.sh_link = Out<ELFT>::DynSymTab->SectionIndex;
- unsigned NumEntries = 2; // nbucket and nchain.
+ unsigned NumEntries = 2; // nbucket and nchain.
NumEntries += Out<ELFT>::DynSymTab->getNumSymbols(); // The chain entries.
// Create as many buckets as there are symbols.
OpenPOWER on IntegriCloud