mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-29 11:29:54 +00:00
MC: Use MCSymbol in RelAndSymbol, NFC
Switch from `MCSymbolData` to `MCSymbol`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -633,7 +633,7 @@ void MachObjectWriter::ComputeSymbolTable(
|
||||
continue;
|
||||
|
||||
// Set the Index and the IsExtern bit.
|
||||
unsigned Index = Rel.Sym->getIndex();
|
||||
unsigned Index = Rel.Sym->getData().getIndex();
|
||||
assert(isInt<24>(Index));
|
||||
if (IsLittleEndian)
|
||||
Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27);
|
||||
|
Reference in New Issue
Block a user