summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-08 20:28:42 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-08 20:28:42 +0000
commit710dd5aebf64c790a03f2e6f0cc4438e8a00fbd4 (patch)
tree6130c80cdc395a1275d817de3d8767e45eba446d /lldb/source/Plugins/ObjectFile
parent9dbbc49f7437113863b8ce06ee7a1235279de3bf (diff)
downloadbcm5719-llvm-710dd5aebf64c790a03f2e6f0cc4438e8a00fbd4.tar.gz
bcm5719-llvm-710dd5aebf64c790a03f2e6f0cc4438e8a00fbd4.zip
Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.
Thanks Bruce! llvm-svn: 123083
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h26
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h2
2 files changed, 14 insertions, 14 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h b/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h
index f6b1653e50d..a4c0417fee4 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h
+++ b/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h
@@ -68,9 +68,9 @@ struct ELFHeader
elf_half e_machine; ///< Target architecture.
elf_half e_ehsize; ///< Byte size of the ELF header.
elf_half e_phentsize; ///< Size of a program header table entry.
- elf_half e_phnum; ///< Number of program header entrys.
+ elf_half e_phnum; ///< Number of program header entries.
elf_half e_shentsize; ///< Size of a section header table entry.
- elf_half e_shnum; ///< Number of section header entrys.
+ elf_half e_shnum; ///< Number of section header entries.
elf_half e_shstrndx; ///< String table section index.
ELFHeader();
@@ -184,19 +184,19 @@ struct ELFSectionHeader
/// @brief Generic representation of an ELF program header.
struct ELFProgramHeader
{
- elf_word p_type; ///< Type of program segement.
- elf_word p_flags; ///< Segement attibutes.
- elf_off p_offset; ///< Start of segment from begining of file.
+ elf_word p_type; ///< Type of program segment.
+ elf_word p_flags; ///< Segment attributes.
+ elf_off p_offset; ///< Start of segment from beginning of file.
elf_addr p_vaddr; ///< Virtual address of segment in memory.
elf_addr p_paddr; ///< Physical address (for non-VM systems).
elf_xword p_filesz; ///< Byte size of the segment in file.
elf_xword p_memsz; ///< Byte size of the segment in memory.
- elf_xword p_align; ///< Segement alignement constraint.
+ elf_xword p_align; ///< Segment alignment constraint.
ELFProgramHeader();
- /// Parse an ELFProgramHeader entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFProgramHeader entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
@@ -234,13 +234,13 @@ struct ELFSymbol
/// Returns the type attribute of the st_info member.
unsigned char getType() const { return st_info & 0x0F; }
- /// Sets the bining and type of the st_info member.
+ /// Sets the binding and type of the st_info member.
void setBindingAndType(unsigned char binding, unsigned char type) {
st_info = (binding << 4) + (type & 0x0F);
}
- /// Parse an ELFSymbol entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFSymbol entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
@@ -271,8 +271,8 @@ struct ELFDynamic
ELFDynamic();
- /// Parse an ELFDynamic entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFDynamic entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
index dcee1ad5d09..e91fabb502d 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
@@ -171,7 +171,7 @@ private:
ParseSectionHeaders();
/// Scans the dynamic section and locates all dependent modules (shared
- /// libaries) populating m_filespec_ap. This method will compute the
+ /// libraries) populating m_filespec_ap. This method will compute the
/// dependent module list only once. Returns the number of dependent
/// modules parsed.
size_t
OpenPOWER on IntegriCloud