mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Fix typo and add a FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114570 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec57a1acec
commit
38738bf1a8
@ -812,7 +812,7 @@ void ELFObjectWriterImpl::CreateMetadataSections(MCAssembler &Asm,
|
|||||||
|
|
||||||
unsigned NumRegularSections = Asm.size();
|
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;
|
const MCSection *ShstrtabSection;
|
||||||
ShstrtabSection = Ctx.getELFSection(".shstrtab", ELF::SHT_STRTAB, 0,
|
ShstrtabSection = Ctx.getELFSection(".shstrtab", ELF::SHT_STRTAB, 0,
|
||||||
SectionKind::getReadOnly(), false);
|
SectionKind::getReadOnly(), false);
|
||||||
@ -856,6 +856,7 @@ void ELFObjectWriterImpl::CreateMetadataSections(MCAssembler &Asm,
|
|||||||
ie = Asm.end(); it != ie; ++it) {
|
ie = Asm.end(); it != ie; ++it) {
|
||||||
const MCSectionELF &Section =
|
const MCSectionELF &Section =
|
||||||
static_cast<const MCSectionELF&>(it->getSection());
|
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
|
// Remember the index into the string table so we can write it
|
||||||
// into the sh_name field of the section header table.
|
// into the sh_name field of the section header table.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user