projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e45256
)
Mach-O/ARM: Add relocation type enumeration.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 10 Dec 2010 06:19:49 +0000
(06:19 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 10 Dec 2010 06:19:49 +0000
(06:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121467
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Object/MachOFormat.h
patch
|
blob
|
history
diff --git
a/include/llvm/Object/MachOFormat.h
b/include/llvm/Object/MachOFormat.h
index 1e1bd95248449d686c66c1790e3265a133299c9b..5a33951e28351195bb22541919015b8136caedbd 100644
(file)
--- a/
include/llvm/Object/MachOFormat.h
+++ b/
include/llvm/Object/MachOFormat.h
@@
-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