mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
MachO: support N_INDR aliases in assembly files.
This makes LLVM create N_INDR aliases (to be resolved by the linker) when appropriate. rdar://problem/15125513 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209894 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -584,6 +584,9 @@ uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const {
|
||||
if ((MachOType & MachO::N_TYPE) == MachO::N_UNDF)
|
||||
Result |= SymbolRef::SF_Undefined;
|
||||
|
||||
if ((MachOType & MachO::N_TYPE) == MachO::N_INDR)
|
||||
Result |= SymbolRef::SF_Indirect;
|
||||
|
||||
if (MachOType & MachO::N_STAB)
|
||||
Result |= SymbolRef::SF_FormatSpecific;
|
||||
|
||||
|
Reference in New Issue
Block a user