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:
Tim Northover
2014-05-30 13:22:59 +00:00
parent 910dc41e24
commit 98f8bc9323
7 changed files with 168 additions and 13 deletions

View File

@ -86,6 +86,7 @@ public:
SF_Weak = 1U << 2, // Weak symbol
SF_Absolute = 1U << 3, // Absolute symbol
SF_Common = 1U << 4, // Symbol has common linkage
SF_Indirect = 1U << 5,
SF_FormatSpecific = 1U << 5 // Specific to the object file format
// (e.g. section symbols)
};