Delete comment and fix typo
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sun, 7 Jun 2009 21:49:11 +0000 (21:49 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sun, 7 Jun 2009 21:49:11 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73040 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ELF.h
lib/CodeGen/ELFWriter.cpp

index 09615d92ca957e625a63c3ff53eddccec6594f72..c22f6ed92e7191a4e041b9a61a32960a9282b2be 100644 (file)
@@ -166,7 +166,7 @@ namespace llvm {
     std::vector<unsigned char> 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<MachineRelocation> Relocations;
 
index 4bc2681d7688bde038b2462af09b203d28dfdcf3..3859ea3865c26f4dd6179bbaf21cf274682b4866 100644 (file)
@@ -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.