mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-05 13:29:22 +00:00
Remove unused argument. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228884 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7418cb0ec6
commit
e3199deda2
@ -259,8 +259,7 @@ class ELFObjectWriter : public MCObjectWriter {
|
|||||||
const RelMapTy &RelMap);
|
const RelMapTy &RelMap);
|
||||||
|
|
||||||
void CreateMetadataSections(MCAssembler &Asm, MCAsmLayout &Layout,
|
void CreateMetadataSections(MCAssembler &Asm, MCAsmLayout &Layout,
|
||||||
SectionIndexMapTy &SectionIndexMap,
|
SectionIndexMapTy &SectionIndexMap);
|
||||||
const RelMapTy &RelMap);
|
|
||||||
|
|
||||||
// Create the sections that show up in the symbol table. Currently
|
// Create the sections that show up in the symbol table. Currently
|
||||||
// those are the .note.GNU-stack section and the group sections.
|
// those are the .note.GNU-stack section and the group sections.
|
||||||
@ -1395,10 +1394,8 @@ void ELFObjectWriter::WriteRelocationsFragment(const MCAssembler &Asm,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ELFObjectWriter::CreateMetadataSections(MCAssembler &Asm,
|
void ELFObjectWriter::CreateMetadataSections(
|
||||||
MCAsmLayout &Layout,
|
MCAssembler &Asm, MCAsmLayout &Layout, SectionIndexMapTy &SectionIndexMap) {
|
||||||
SectionIndexMapTy &SectionIndexMap,
|
|
||||||
const RelMapTy &RelMap) {
|
|
||||||
MCContext &Ctx = Asm.getContext();
|
MCContext &Ctx = Asm.getContext();
|
||||||
MCDataFragment *F;
|
MCDataFragment *F;
|
||||||
|
|
||||||
@ -1737,8 +1734,7 @@ void ELFObjectWriter::WriteObject(MCAssembler &Asm,
|
|||||||
|
|
||||||
CreateMetadataSections(const_cast<MCAssembler&>(Asm),
|
CreateMetadataSections(const_cast<MCAssembler&>(Asm),
|
||||||
const_cast<MCAsmLayout&>(Layout),
|
const_cast<MCAsmLayout&>(Layout),
|
||||||
SectionIndexMap,
|
SectionIndexMap);
|
||||||
RelMap);
|
|
||||||
|
|
||||||
uint64_t NaturalAlignment = is64Bit() ? 8 : 4;
|
uint64_t NaturalAlignment = is64Bit() ? 8 : 4;
|
||||||
uint64_t HeaderSize = is64Bit() ? sizeof(ELF::Elf64_Ehdr) :
|
uint64_t HeaderSize = is64Bit() ? sizeof(ELF::Elf64_Ehdr) :
|
||||||
|
Loading…
Reference in New Issue
Block a user