mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Revert "Pack the MCSymbolELF bit fields into MCSymbol's Flags."
This reverts commit r239006. I am debugging the powerpc failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -463,7 +463,8 @@ void ELFObjectWriter::writeSymbol(SymbolTableWriter &Writer,
|
||||
// Other and Visibility share the same byte with Visibility using the lower
|
||||
// 2 bits
|
||||
uint8_t Visibility = Symbol.getVisibility();
|
||||
uint8_t Other = Symbol.getOther() | Visibility;
|
||||
uint8_t Other = Symbol.getOther() << 2;
|
||||
Other |= Visibility;
|
||||
|
||||
uint64_t Value = SymbolValue(*MSD.Symbol, Layout);
|
||||
uint64_t Size = 0;
|
||||
|
Reference in New Issue
Block a user