llvm.org GIT mirror llvm / abfbac5
MC/ARM: Fix-up fixup offset for fixup_arm_branch target specific fixup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121772 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 9 years ago
2 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5757 { "fixup_arm_adr_pcrel_12", 1, 24, MCFixupKindInfo::FKF_IsPCRel },
5858 { "fixup_t2_adr_pcrel_12", 0, 32, MCFixupKindInfo::FKF_IsPCRel |
5959 MCFixupKindInfo::FKF_IsAligned},
60 { "fixup_arm_branch", 1, 24, MCFixupKindInfo::FKF_IsPCRel },
60 { "fixup_arm_branch", 0, 24, MCFixupKindInfo::FKF_IsPCRel },
6161 { "fixup_t2_condbranch", 0, 32, MCFixupKindInfo::FKF_IsPCRel },
6262 { "fixup_t2_uncondbranch", 0, 32, MCFixupKindInfo::FKF_IsPCRel },
6363 { "fixup_arm_thumb_br", 0, 16, MCFixupKindInfo::FKF_IsPCRel },
0 // RUN: llvm-mc -triple arm-unknown-unknown %s --show-encoding > %t
1 // RUN: FileCheck < %t %s
2
3 // CHECK: bl _printf @ encoding: [A,A,A,0xeb]
4 // CHECK: @ fixup A - offset: 0, value: _printf, kind: fixup_arm_branch
5 bl _printf
6