[llvm-commits] [llvm] r73040 - in /llvm/trunk/lib/CodeGen: ELF.h ELFWriter.cpp
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Sun Jun 7 14:49:11 PDT 2009
Author: bruno
Date: Sun Jun 7 16:49:11 2009
New Revision: 73040
URL: http://llvm.org/viewvc/llvm-project?rev=73040&view=rev
Log:
Delete comment and fix typo
Modified:
llvm/trunk/lib/CodeGen/ELF.h
llvm/trunk/lib/CodeGen/ELFWriter.cpp
Modified: llvm/trunk/lib/CodeGen/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ELF.h?rev=73040&r1=73039&r2=73040&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ELF.h (original)
+++ llvm/trunk/lib/CodeGen/ELF.h Sun Jun 7 16:49:11 2009
@@ -166,7 +166,7 @@
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;
Modified: llvm/trunk/lib/CodeGen/ELFWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ELFWriter.cpp?rev=73040&r1=73039&r2=73040&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ELFWriter.cpp (original)
+++ llvm/trunk/lib/CodeGen/ELFWriter.cpp Sun Jun 7 16:49:11 2009
@@ -290,7 +290,6 @@
// 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.
More information about the llvm-commits
mailing list