Fixed comments formatting. NFC.

llvm-svn: 261214
This commit is contained in:
George Rimar 2016-02-18 15:17:01 +00:00
parent 9bec24ab88
commit e9e1d323c6
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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.