mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-08 03:18:19 +00:00
Move IsUsedInReloc from MCSymbolELF to MCSymbol.
There is a free bit is MCSymbol and MachO needs the same information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -205,7 +205,7 @@ void X86MachObjectWriter::RecordX86_64Relocation(
|
||||
if (Symbol->isTemporary() && Value) {
|
||||
const MCSection &Sec = Symbol->getSection();
|
||||
if (!Asm.getContext().getAsmInfo()->isSectionAtomizableBySymbols(Sec))
|
||||
Asm.addLocalUsedInReloc(*Symbol);
|
||||
Symbol->setUsedInReloc();
|
||||
}
|
||||
RelSymbol = Asm.getAtom(*Symbol);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user