mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234342 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -256,8 +256,7 @@ class ELFObjectWriter : public MCObjectWriter {
|
|||||||
/// \param NumRegularSections - Number of non-relocation sections.
|
/// \param NumRegularSections - Number of non-relocation sections.
|
||||||
void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
|
void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
|
||||||
const SectionIndexMapTy &SectionIndexMap,
|
const SectionIndexMapTy &SectionIndexMap,
|
||||||
const RevGroupMapTy &RevGroupMap,
|
const RevGroupMapTy &RevGroupMap);
|
||||||
unsigned NumRegularSections);
|
|
||||||
|
|
||||||
void computeIndexMap(MCAssembler &Asm, SectionIndexMapTy &SectionIndexMap);
|
void computeIndexMap(MCAssembler &Asm, SectionIndexMapTy &SectionIndexMap);
|
||||||
|
|
||||||
@ -990,11 +989,10 @@ void ELFObjectWriter::computeIndexMap(MCAssembler &Asm,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void ELFObjectWriter::computeSymbolTable(
|
||||||
ELFObjectWriter::computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
|
MCAssembler &Asm, const MCAsmLayout &Layout,
|
||||||
const SectionIndexMapTy &SectionIndexMap,
|
const SectionIndexMapTy &SectionIndexMap,
|
||||||
const RevGroupMapTy &RevGroupMap,
|
const RevGroupMapTy &RevGroupMap) {
|
||||||
unsigned NumRegularSections) {
|
|
||||||
// FIXME: Is this the correct place to do this?
|
// FIXME: Is this the correct place to do this?
|
||||||
// FIXME: Why is an undefined reference to _GLOBAL_OFFSET_TABLE_ needed?
|
// FIXME: Why is an undefined reference to _GLOBAL_OFFSET_TABLE_ needed?
|
||||||
if (NeedsGOT) {
|
if (NeedsGOT) {
|
||||||
@ -1695,8 +1693,7 @@ void ELFObjectWriter::WriteObject(MCAssembler &Asm,
|
|||||||
unsigned NumRegularSections = NumUserSections + NumIndexedSections;
|
unsigned NumRegularSections = NumUserSections + NumIndexedSections;
|
||||||
|
|
||||||
// Compute symbol table information.
|
// Compute symbol table information.
|
||||||
computeSymbolTable(Asm, Layout, SectionIndexMap, RevGroupMap,
|
computeSymbolTable(Asm, Layout, SectionIndexMap, RevGroupMap);
|
||||||
NumRegularSections);
|
|
||||||
|
|
||||||
WriteRelocations(Asm, const_cast<MCAsmLayout &>(Layout));
|
WriteRelocations(Asm, const_cast<MCAsmLayout &>(Layout));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user