Mach-O/ARM: Add relocation type enumeration.

llvm-svn: 121467
This commit is contained in:
Daniel Dunbar 2010-12-10 06:19:49 +00:00
parent a5d9f6df8f
commit ede0e9b585
1 changed files with 12 additions and 0 deletions

View File

@ -340,6 +340,18 @@ namespace macho {
RIT_X86_64_TLV = 9
};
/// ARM also has its own relocation types.
enum RelocationInfoTypeARM {
RIT_ARM_Vanilla = 0,
RIT_ARM_Pair = 1,
RIT_ARM_Difference = 2,
RIT_ARM_LocalDifference = 3,
RIT_ARM_PreboundLazyPointer =4,
RIT_ARM_Branch24Bit = 5,
RIT_ARM_ThumbBranch22Bit = 6,
RIT_ARM_ThumbBranch32Bit = 7
};
} // end namespace macho
} // end namespace object