llvm.org GIT mirror llvm / b54efe8
ARM 'adr' fixups don't need the interworking addend tweaking. They reference the PC directly, so things work properly that way. rdar://11231229 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154576 91177308-0d34-0410-b5e6-96231b3b80d8 Jim Grosbach 8 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
115115 // twiddled.
116116 if ((unsigned)Fixup.getKind() != ARM::fixup_arm_ldst_pcrel_12 &&
117117 (unsigned)Fixup.getKind() != ARM::fixup_t2_ldst_pcrel_12 &&
118 (unsigned)Fixup.getKind() != ARM::fixup_arm_adr_pcrel_12 &&
119 (unsigned)Fixup.getKind() != ARM::fixup_thumb_adr_pcrel_10 &&
120 (unsigned)Fixup.getKind() != ARM::fixup_t2_adr_pcrel_12 &&
118121 (unsigned)Fixup.getKind() != ARM::fixup_arm_thumb_cp) {
119122 if (A) {
120123 const MCSymbol &Sym = A->getSymbol().AliasedSymbol();