[llvm-commits] [llvm] r121467 - /llvm/trunk/include/llvm/Object/MachOFormat.h
Daniel Dunbar
daniel at zuster.org
Thu Dec 9 22:19:49 PST 2010
Author: ddunbar
Date: Fri Dec 10 00:19:49 2010
New Revision: 121467
URL: http://llvm.org/viewvc/llvm-project?rev=121467&view=rev
Log:
Mach-O/ARM: Add relocation type enumeration.
Modified:
llvm/trunk/include/llvm/Object/MachOFormat.h
Modified: llvm/trunk/include/llvm/Object/MachOFormat.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/MachOFormat.h?rev=121467&r1=121466&r2=121467&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/MachOFormat.h (original)
+++ llvm/trunk/include/llvm/Object/MachOFormat.h Fri Dec 10 00:19:49 2010
@@ -340,6 +340,18 @@
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
More information about the llvm-commits
mailing list