[llvm-commits] [llvm] r114570 - /llvm/trunk/lib/MC/ELFObjectWriter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Sep 22 12:04:41 PDT 2010
Author: rafael
Date: Wed Sep 22 14:04:41 2010
New Revision: 114570
URL: http://llvm.org/viewvc/llvm-project?rev=114570&view=rev
Log:
Fix typo and add a FIXME.
Modified:
llvm/trunk/lib/MC/ELFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=114570&r1=114569&r2=114570&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Wed Sep 22 14:04:41 2010
@@ -812,7 +812,7 @@
unsigned NumRegularSections = Asm.size();
- // We construct .shstrtab, .symtab and .strtab is this order to match gnu as.
+ // We construct .shstrtab, .symtab and .strtab in this order to match gnu as.
const MCSection *ShstrtabSection;
ShstrtabSection = Ctx.getELFSection(".shstrtab", ELF::SHT_STRTAB, 0,
SectionKind::getReadOnly(), false);
@@ -856,6 +856,7 @@
ie = Asm.end(); it != ie; ++it) {
const MCSectionELF &Section =
static_cast<const MCSectionELF&>(it->getSection());
+ // FIXME: We could merge prefixes like in .text and .text.rela.
// Remember the index into the string table so we can write it
// into the sh_name field of the section header table.
More information about the llvm-commits
mailing list