mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
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
This commit is contained in:
parent
ed08489a71
commit
b54efe809f
@ -116,6 +116,9 @@ public:
|
||||
// twiddled.
|
||||
if ((unsigned)Fixup.getKind() != ARM::fixup_arm_ldst_pcrel_12 &&
|
||||
(unsigned)Fixup.getKind() != ARM::fixup_t2_ldst_pcrel_12 &&
|
||||
(unsigned)Fixup.getKind() != ARM::fixup_arm_adr_pcrel_12 &&
|
||||
(unsigned)Fixup.getKind() != ARM::fixup_thumb_adr_pcrel_10 &&
|
||||
(unsigned)Fixup.getKind() != ARM::fixup_t2_adr_pcrel_12 &&
|
||||
(unsigned)Fixup.getKind() != ARM::fixup_arm_thumb_cp) {
|
||||
if (A) {
|
||||
const MCSymbol &Sym = A->getSymbol().AliasedSymbol();
|
||||
|
Loading…
x
Reference in New Issue
Block a user