summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2017-01-23 13:52:08 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2017-01-23 13:52:08 +0000
commitbeb17cc86cd530290ce47842073ab98af7f6b204 (patch)
treed20a228dd2c76ca820527d26cfc2bfad7f44d6b8 /llvm/lib/ExecutionEngine
parentae834047a442ecb6f096c54df1aa59d8dd263663 (diff)
downloadbcm5719-llvm-beb17cc86cd530290ce47842073ab98af7f6b204.tar.gz
bcm5719-llvm-beb17cc86cd530290ce47842073ab98af7f6b204.zip
RuntimeDyldELF: add LDST128_ABS_LO12_NC reloc
llvm-svn: 292788
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index d2f30deff92..56b7c49164f 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -443,6 +443,12 @@ void RuntimeDyldELF::resolveAArch64Relocation(const SectionEntry &Section,
// from bits 11:3 of X
or32AArch64Imm(TargetPtr, getBits(Value + Addend, 3, 11));
break;
+ case ELF::R_AARCH64_LDST128_ABS_LO12_NC:
+ // Operation: S + A
+ // Immediate goes in bits 21:10 of LD/ST instruction, taken
+ // from bits 11:4 of X
+ or32AArch64Imm(TargetPtr, getBits(Value + Addend, 4, 11));
+ break;
}
}
OpenPOWER on IntegriCloud