Added clarifying comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123341 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jason W Kim 2011-01-12 23:25:02 +00:00
parent 650b7d76af
commit 8dc602d245

View File

@ -75,6 +75,8 @@ enum Fixups {
fixup_arm_movw_lo16, // :lower16: fixup_arm_movw_lo16, // :lower16:
// It is possible to create an "immediate" that happens to be pcrel. // 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 // Needed to support ELF::R_ARM_MOVT_PREL and ELF::R_ARM_MOVW_PREL_NC
fixup_arm_movt_hi16_pcrel, // :upper16: fixup_arm_movt_hi16_pcrel, // :upper16:
fixup_arm_movw_lo16_pcrel, // :lower16: fixup_arm_movw_lo16_pcrel, // :lower16: