summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-09-22 19:04:41 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-09-22 19:04:41 +0000
commit0e527b7ed524c7355c6b8488cdccb7c6655ccc43 (patch)
tree966a89470228c2ae4692aa4e39184df7f26e8c9e /llvm/lib/MC
parentb6832a437298a26c67b9c8275ee1613e74a88792 (diff)
downloadbcm5719-llvm-0e527b7ed524c7355c6b8488cdccb7c6655ccc43.tar.gz
bcm5719-llvm-0e527b7ed524c7355c6b8488cdccb7c6655ccc43.zip
Fix typo and add a FIXME.
llvm-svn: 114570
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/ELFObjectWriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index 58eee020cf7..d9c88715016 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -812,7 +812,7 @@ void ELFObjectWriterImpl::CreateMetadataSections(MCAssembler &Asm,
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 @@ void ELFObjectWriterImpl::CreateMetadataSections(MCAssembler &Asm,
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.
OpenPOWER on IntegriCloud