mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Remove unused argument. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a520577e7e
commit
4dbd603825
@ -202,7 +202,7 @@ class ELFObjectWriter : public MCObjectWriter {
|
||||
void ExecutePostLayoutBinding(MCAssembler &Asm,
|
||||
const MCAsmLayout &Layout) override;
|
||||
|
||||
void writeSectionHeader(const MCAssembler &Asm, const MCAsmLayout &Layout,
|
||||
void writeSectionHeader(const MCAsmLayout &Layout,
|
||||
const SectionIndexMapTy &SectionIndexMap,
|
||||
const SectionOffsetsTy &SectionOffsets);
|
||||
|
||||
@ -1144,8 +1144,7 @@ void ELFObjectWriter::writeSection(const SectionIndexMapTy &SectionIndexMap,
|
||||
}
|
||||
|
||||
void ELFObjectWriter::writeSectionHeader(
|
||||
const MCAssembler &Asm, const MCAsmLayout &Layout,
|
||||
const SectionIndexMapTy &SectionIndexMap,
|
||||
const MCAsmLayout &Layout, const SectionIndexMapTy &SectionIndexMap,
|
||||
const SectionOffsetsTy &SectionOffsets) {
|
||||
const unsigned NumSections = SectionTable.size();
|
||||
|
||||
@ -1281,7 +1280,7 @@ void ELFObjectWriter::WriteObject(MCAssembler &Asm,
|
||||
const unsigned SectionHeaderOffset = OS.tell();
|
||||
|
||||
// ... then the section header table ...
|
||||
writeSectionHeader(Asm, Layout, SectionIndexMap, SectionOffsets);
|
||||
writeSectionHeader(Layout, SectionIndexMap, SectionOffsets);
|
||||
|
||||
uint16_t NumSections = (SectionTable.size() + 1 >= ELF::SHN_LORESERVE)
|
||||
? (uint16_t)ELF::SHN_UNDEF
|
||||
|
Loading…
Reference in New Issue
Block a user