summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit19d64ba8bf11aa213fbe2a5e54e2d2c57411ab60 (patch)
tree73d96ce8dd31aa5faa50d9bc1857c0fe29e3d454 /llvm/lib/Target/ARM/ARMRelocations.h
parentde9dbc5584d73584e0c766d8b11780c8d0061ecd (diff)
downloadbcm5719-llvm-19d64ba8bf11aa213fbe2a5e54e2d2c57411ab60.tar.gz
bcm5719-llvm-19d64ba8bf11aa213fbe2a5e54e2d2c57411ab60.zip
Correct way to handle CONSTPOOL_ENTRY instructions.
llvm-svn: 58409
Diffstat (limited to 'llvm/lib/Target/ARM/ARMRelocations.h')
-rw-r--r--llvm/lib/Target/ARM/ARMRelocations.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMRelocations.h b/llvm/lib/Target/ARM/ARMRelocations.h
index 6963980bc2e..93101a61797 100644
--- a/llvm/lib/Target/ARM/ARMRelocations.h
+++ b/llvm/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
};
}
OpenPOWER on IntegriCloud