mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Remove unused argument. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237940 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
493bc7e300
commit
a127bd0585
1 file changed
+5
-8
@@ -253,8 +253,7 @@ class ELFObjectWriter : public MCObjectWriter {
|
||||
bool isWeak(const MCSymbol &Sym) const override;
|
||||
|
||||
void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
|
||||
void writeSection(MCAssembler &Asm,
|
||||
const SectionIndexMapTy &SectionIndexMap,
|
||||
void writeSection(const SectionIndexMapTy &SectionIndexMap,
|
||||
uint32_t GroupSymbolIndex, uint64_t Offset, uint64_t Size,
|
||||
const MCSectionELF &Section);
|
||||
};
|
||||
@@ -1250,11 +1249,9 @@ const MCSectionELF *ELFObjectWriter::createStringTable(MCContext &Ctx) {
|
||||
return StrtabSection;
|
||||
}
|
||||
|
||||
void ELFObjectWriter::writeSection(MCAssembler &Asm,
|
||||
const SectionIndexMapTy &SectionIndexMap,
|
||||
uint32_t GroupSymbolIndex,
|
||||
uint64_t Offset, uint64_t Size,
|
||||
const MCSectionELF &Section) {
|
||||
void ELFObjectWriter::writeSection(const SectionIndexMapTy &SectionIndexMap,
|
||||
uint32_t GroupSymbolIndex, uint64_t Offset,
|
||||
uint64_t Size, const MCSectionELF &Section) {
|
||||
uint64_t sh_link = 0;
|
||||
uint64_t sh_info = 0;
|
||||
|
||||
@@ -1326,7 +1323,7 @@ void ELFObjectWriter::writeSectionHeader(
|
||||
uint64_t Size = Type == ELF::SHT_NOBITS ? Layout.getSectionAddressSize(&SD)
|
||||
: Offsets.second - Offsets.first;
|
||||
|
||||
writeSection(Asm, SectionIndexMap, GroupSymbolIndex, Offsets.first, Size,
|
||||
writeSection(SectionIndexMap, GroupSymbolIndex, Offsets.first, Size,
|
||||
*Section);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user