From 8dc602d24590206571836f31b8fead56cb51318c Mon Sep 17 00:00:00 2001 From: Jason W Kim Date: Wed, 12 Jan 2011 23:25:02 +0000 Subject: [PATCH] Added clarifying comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123341 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMFixupKinds.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/ARM/ARMFixupKinds.h b/lib/Target/ARM/ARMFixupKinds.h index 12efcb23006..3d448b5c78f 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: