mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +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:
@@ -395,6 +395,8 @@ static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) {
|
||||
switch (NType & MachO::N_TYPE) {
|
||||
case MachO::N_ABS:
|
||||
return 's';
|
||||
case MachO::N_INDR:
|
||||
return 'i';
|
||||
case MachO::N_SECT: {
|
||||
section_iterator Sec = Obj.section_end();
|
||||
Obj.getSymbolSection(Symb, Sec);
|
||||
|
Reference in New Issue
Block a user