diff options
author | Jason W Kim <jason.w.kim.2009@gmail.com> | 2011-01-12 23:25:02 +0000 |
---|---|---|
committer | Jason W Kim <jason.w.kim.2009@gmail.com> | 2011-01-12 23:25:02 +0000 |
commit | 8dc602d24590206571836f31b8fead56cb51318c (patch) | |
tree | 2c25b0185d704833c76e7d6ccdc543f8fc8b4c32 | |
parent | 650b7d76afbc7db2dd1a4590149d50a162bb25d8 (diff) |
Added clarifying comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123341 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMFixupKinds.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFixupKinds.h b/lib/Target/ARM/ARMFixupKinds.h index 12efcb2300..3d448b5c78 100644 --- a/lib/Target/ARM/ARMFixupKinds.h +++ b/lib/Target/ARM/ARMFixupKinds.h @@ -75,6 +75,8 @@ enum Fixups { fixup_arm_movw_lo16, // :lower16: // It is possible to create an "immediate" that happens to be pcrel. + // movw r0, :lower16:Foo-(Bar+8) and movt r0, :upper16:Foo-(Bar+8) + // result in different reloc tags than the above two. // 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: |