diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-12-10 06:19:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-12-10 06:19:49 +0000 |
commit | cdffa4fdc91280a517dd3a34b8a06ebdb6ef53fa (patch) | |
tree | ea63b83d2123cb99850205a3b92df9edc9b5d50d /include/llvm/Object/MachOFormat.h | |
parent | 4e45256a069e7b9a3570f095be265e081f02c8f0 (diff) | |
download | llvm-cdffa4fdc91280a517dd3a34b8a06ebdb6ef53fa.tar.gz llvm-cdffa4fdc91280a517dd3a34b8a06ebdb6ef53fa.tar.bz2 llvm-cdffa4fdc91280a517dd3a34b8a06ebdb6ef53fa.tar.xz |
Mach-O/ARM: Add relocation type enumeration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/MachOFormat.h')
-rw-r--r-- | include/llvm/Object/MachOFormat.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/Object/MachOFormat.h b/include/llvm/Object/MachOFormat.h index 1e1bd95248..5a33951e28 100644 --- 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 |