summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMRelocations.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-10-29 23:55:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-10-29 23:55:43 +0000
commit0f282439be688babbbf6d54151ddf9a7ebbf3637 (patch)
treea3fa9408bff75a18ff16c936d39a841c9e826531 /lib/Target/ARM/ARMRelocations.h
parent5be59eace58e5a92bb851c4885f9cea7236ac30f (diff)
downloadllvm-0f282439be688babbbf6d54151ddf9a7ebbf3637.tar.gz
llvm-0f282439be688babbbf6d54151ddf9a7ebbf3637.tar.bz2
llvm-0f282439be688babbbf6d54151ddf9a7ebbf3637.tar.xz
Correct way to handle CONSTPOOL_ENTRY instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMRelocations.h')
-rw-r--r--lib/Target/ARM/ARMRelocations.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMRelocations.h b/lib/Target/ARM/ARMRelocations.h
index 6963980bc2..93101a6179 100644
--- a/lib/Target/ARM/ARMRelocations.h
+++ b/lib/Target/ARM/ARMRelocations.h
@@ -19,8 +19,19 @@
namespace llvm {
namespace ARM {
enum RelocationType {
+ // reloc_arm_absolute - Absolute relocation, just add the relocated value
+ // to the value already in memory.
+ reloc_arm_absolute,
+
+ // reloc_arm_relative - PC relative relocation, add the relocated value to
+ // the value already in memory, after we adjust it for where the PC is.
reloc_arm_relative,
+ // reloc_arm_cp_entry - PC relative relocation for constpool_entry's whose
+ // addresses are kept locally in a map.
+ reloc_arm_cp_entry,
+
+ // reloc_arm_branch - Branch address relocation.
reloc_arm_branch
};
}