mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
On ELF we need to know which symbols are used in relocations to decide if
they should be in the symbol table or not. Instead of "guessing", just compute the symbol table after the relocations are known. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -186,7 +186,7 @@ public:
|
||||
bool IsPCRel,
|
||||
const MCFragment *DF) const;
|
||||
|
||||
void WriteObject(const MCAssembler &Asm, const MCAsmLayout &Layout);
|
||||
void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -703,7 +703,7 @@ bool WinCOFFObjectWriter::IsFixupFullyResolved(const MCAssembler &Asm,
|
||||
return false;
|
||||
}
|
||||
|
||||
void WinCOFFObjectWriter::WriteObject(const MCAssembler &Asm,
|
||||
void WinCOFFObjectWriter::WriteObject(MCAssembler &Asm,
|
||||
const MCAsmLayout &Layout) {
|
||||
// Assign symbol and section indexes and offsets.
|
||||
Header.NumberOfSections = 0;
|
||||
|
Reference in New Issue
Block a user