summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/SectionChunks.h
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-01 23:51:36 +0000
committerAlp Toker <alp@nuanti.com>2013-12-01 23:51:36 +0000
commit32e8beff89e0e2ac99a8df885f07e86066c1df09 (patch)
treea54c28ae2d1bb5637e59bd6c1d8e1191abd60aff /lld/lib/ReaderWriter/ELF/SectionChunks.h
parentaaaf02206adc1aae15d937317c394590cb6d3305 (diff)
downloadbcm5719-llvm-32e8beff89e0e2ac99a8df885f07e86066c1df09.tar.gz
bcm5719-llvm-32e8beff89e0e2ac99a8df885f07e86066c1df09.zip
Fix a variety of typos in function names and comments
No change in functionality. llvm-svn: 196053
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/SectionChunks.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/SectionChunks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SectionChunks.h b/lld/lib/ReaderWriter/ELF/SectionChunks.h
index cc0ce1687c2..d9659010a03 100644
--- a/lld/lib/ReaderWriter/ELF/SectionChunks.h
+++ b/lld/lib/ReaderWriter/ELF/SectionChunks.h
@@ -284,7 +284,7 @@ const lld::AtomLayout &AtomSection<ELFT>::appendAtom(const Atom *atom) {
DefinedAtom::Alignment atomAlign = definedAtom->alignment();
uint64_t align2 = 1u << atomAlign.powerOf2;
// Align the atom to the required modulus/ align the file offset and the
- // memory offset seperately this is required so that BSS symbols are handled
+ // memory offset separately this is required so that BSS symbols are handled
// properly as the BSS symbols only occupy memory size and not file size
uint64_t fOffset = alignOffset(this->fileSize(), atomAlign);
uint64_t mOffset = alignOffset(this->memSize(), atomAlign);
@@ -393,7 +393,7 @@ void AtomSection<ELFT>::write(ELFWriter *writer,
/// \brief A MergedSections represents a set of sections grouped by the same
/// name. The output file that gets written by the linker has sections grouped
-/// by similiar names
+/// by similar names
template<class ELFT>
class MergedSections {
public:
OpenPOWER on IntegriCloud