diff options
| author | Jason W Kim <jason.w.kim.2009@gmail.com> | 2011-01-12 00:19:25 +0000 |
|---|---|---|
| committer | Jason W Kim <jason.w.kim.2009@gmail.com> | 2011-01-12 00:19:25 +0000 |
| commit | 9c5b65d289a75f1d2533b76e90468f8071309366 (patch) | |
| tree | 2fe6796926baddc6a580ccbab4178a3f99a82041 /llvm/lib/Target/ARM/ARMFixupKinds.h | |
| parent | 25f4620c67520e687b5ca56e648c04334e3e88f2 (diff) | |
| download | bcm5719-llvm-9c5b65d289a75f1d2533b76e90468f8071309366.tar.gz bcm5719-llvm-9c5b65d289a75f1d2533b76e90468f8071309366.zip | |
1. Support ELF pcrel relocations for movw/movt:
R_ARM_MOVT_PREL and R_ARM_MOVW_PREL_NC.
2. Fix minor bug in ARMAsmPrinter - treat bitfield flag as a bitfield, not an enum.
3. Add support for 3 new elf section types (no-ops)
llvm-svn: 123294
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFixupKinds.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFixupKinds.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMFixupKinds.h b/llvm/lib/Target/ARM/ARMFixupKinds.h index 3e0bd0e7b7a..12efcb23006 100644 --- a/llvm/lib/Target/ARM/ARMFixupKinds.h +++ b/llvm/lib/Target/ARM/ARMFixupKinds.h @@ -74,6 +74,11 @@ enum Fixups { fixup_arm_movt_hi16, // :upper16: fixup_arm_movw_lo16, // :lower16: + // It is possible to create an "immediate" that happens to be pcrel. + // Needed to support ELF::R_ARM_MOVT_PREL and ELF::R_ARM_MOVW_PREL_NC + fixup_arm_movt_hi16_pcrel, // :upper16: + fixup_arm_movw_lo16_pcrel, // :lower16: + // Marker LastTargetFixupKind, NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind |

