MC/Assembler: Strip out object writer arguments, now that it is always available

-- and remove FIXME asking for the same!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2010-12-17 02:45:59 +00:00
parent feb7ba3d9a
commit 5d2477cecf
5 changed files with 51 additions and 73 deletions

View File

@@ -1455,7 +1455,7 @@ void ELFObjectWriter::WriteObject(MCAssembler &Asm,
if (IsELFMetaDataSection(SD))
WriteDataSectionData(this, SD);
else
Asm.WriteSectionData(&SD, Layout, this);
Asm.WriteSectionData(&SD, Layout);
}
uint64_t Padding = OffsetToAlignment(FileOff, NaturalAlignment);