From: Bruno Cardoso Lopes Date: Sun, 7 Jun 2009 21:49:11 +0000 (+0000) Subject: Delete comment and fix typo X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=06bfa33eefd6c7b56fc354ab640a9175e82bf890;p=oota-llvm.git Delete comment and fix typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73040 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/ELF.h b/lib/CodeGen/ELF.h index 09615d92ca9..c22f6ed92e7 100644 --- a/lib/CodeGen/ELF.h +++ b/lib/CodeGen/ELF.h @@ -166,7 +166,7 @@ namespace llvm { std::vector SectionData; /// Relocations - The relocations that we have encountered so far in this - /// section that we will need to convert to MachORelocation entries when + /// section that we will need to convert to Elf relocation entries when /// the file is written. std::vector Relocations; diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index 4bc2681d768..3859ea3865c 100644 --- a/lib/CodeGen/ELFWriter.cpp +++ b/lib/CodeGen/ELFWriter.cpp @@ -290,7 +290,6 @@ void ELFWriter::EmitSymbolTable() { // Set the zero'th symbol to a null byte, as required. StrTabOut.outbyte(0); - //SymbolTable[0].NameIdx = 0; unsigned Index = 1; for (unsigned i = 1, e = SymbolTable.size(); i != e; ++i) { // Use the name mangler to uniquify the LLVM symbol.