Added clarifying comment
authorJason W Kim <jason.w.kim.2009@gmail.com>
Wed, 12 Jan 2011 23:25:02 +0000 (23:25 +0000)
committerJason W Kim <jason.w.kim.2009@gmail.com>
Wed, 12 Jan 2011 23:25:02 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123341 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFixupKinds.h

index 12efcb23006d95414531b401c714d4bcb1b26814..3d448b5c78fde66fa6cf2ec26fcdad319951fd92 100644 (file)
@@ -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: