diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-07-22 00:16:02 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-07-22 00:16:02 +0000 |
commit | e171da5cb781dfaa06f8637b35c06f93e8bb5604 (patch) | |
tree | 909b8152221cd1c3be2ee3ae4d9af61426bad45f /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | a534a31c5e73163eaa61560cd4e0c4c19bcbcfb1 (diff) | |
download | bcm5719-llvm-e171da5cb781dfaa06f8637b35c06f93e8bb5604.tar.gz bcm5719-llvm-e171da5cb781dfaa06f8637b35c06f93e8bb5604.zip |
Fix typos.
Summary: Fix a bunch of typos.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11386
llvm-svn: 242856
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index 789fd491330..a3a1113ffc8 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -1731,7 +1731,7 @@ ObjectFileELF::CreateSections(SectionList &unified_section_list) if (eSectionTypeOther == sect_type) { // the kalimba toolchain assumes that ELF section names are free-form. It does - // supports linkscripts which (can) give rise to various arbitarily named + // support linkscripts which (can) give rise to various arbitrarily named // sections being "Code" or "Data". sect_type = kalimbaSectionType(m_header, header); } @@ -2069,7 +2069,7 @@ ObjectFileELF::ParseSymbols (Symtab *symtab, Mangled mangled(ConstString(symbol_bare), is_mangled); // Now append the suffix back to mangled and unmangled names. Only do it if the - // demangling was sucessful (string is not empty). + // demangling was successful (string is not empty). if (has_suffix) { llvm::StringRef suffix = symbol_ref.substr(version_pos); @@ -2221,7 +2221,7 @@ ObjectFileELF::PLTRelocationType() } // Returns the size of the normal plt entries and the offset of the first normal plt entry. The -// 0th entry in the plt table is ususally a resolution entry which have different size in some +// 0th entry in the plt table is usually a resolution entry which have different size in some // architectures then the rest of the plt entries. static std::pair<uint64_t, uint64_t> GetPltEntrySizeAndOffset(const ELFSectionHeader* rel_hdr, const ELFSectionHeader* plt_hdr) @@ -2237,8 +2237,8 @@ GetPltEntrySizeAndOffset(const ELFSectionHeader* rel_hdr, const ELFSectionHeader { // The linker haven't set the plt_hdr->sh_entsize field. Try to guess the size of the plt // entries based on the number of entries and the size of the plt section with the - // asumption that the size of the 0th entry is at least as big as the size of the normal - // entries and it isn't mutch bigger then that. + // assumption that the size of the 0th entry is at least as big as the size of the normal + // entries and it isn't much bigger then that. if (plt_hdr->sh_addralign) plt_entsize = plt_hdr->sh_size / plt_hdr->sh_addralign / (num_relocations + 1) * plt_hdr->sh_addralign; else |