mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
MC/ARM: Fix-up fixup offset for fixup_arm_branch target specific fixup.
llvm-svn: 121772
This commit is contained in:
parent
88727a93a8
commit
3f9b9dc852
@ -58,7 +58,7 @@ public:
|
||||
{ "fixup_arm_adr_pcrel_12", 1, 24, MCFixupKindInfo::FKF_IsPCRel },
|
||||
{ "fixup_t2_adr_pcrel_12", 0, 32, MCFixupKindInfo::FKF_IsPCRel |
|
||||
MCFixupKindInfo::FKF_IsAligned},
|
||||
{ "fixup_arm_branch", 1, 24, MCFixupKindInfo::FKF_IsPCRel },
|
||||
{ "fixup_arm_branch", 0, 24, MCFixupKindInfo::FKF_IsPCRel },
|
||||
{ "fixup_t2_condbranch", 0, 32, MCFixupKindInfo::FKF_IsPCRel },
|
||||
{ "fixup_t2_uncondbranch", 0, 32, MCFixupKindInfo::FKF_IsPCRel },
|
||||
{ "fixup_arm_thumb_br", 0, 16, MCFixupKindInfo::FKF_IsPCRel },
|
||||
|
7
test/MC/ARM/arm_fixups.s
Normal file
7
test/MC/ARM/arm_fixups.s
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: llvm-mc -triple arm-unknown-unknown %s --show-encoding > %t
|
||||
// RUN: FileCheck < %t %s
|
||||
|
||||
// CHECK: bl _printf @ encoding: [A,A,A,0xeb]
|
||||
// CHECK: @ fixup A - offset: 0, value: _printf, kind: fixup_arm_branch
|
||||
bl _printf
|
||||
|
Loading…
Reference in New Issue
Block a user