summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-09-19 20:35:25 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-09-19 20:35:25 +0000
commit5c37d57e15ddd477fb46992d358fdba5dfd775b0 (patch)
tree135946c55c72a0497d3728dd619a459680fea086 /llvm/lib/ExecutionEngine
parentfaa38029e28db51b28cb21a707b1a47b87c86380 (diff)
downloadbcm5719-llvm-5c37d57e15ddd477fb46992d358fdba5dfd775b0.tar.gz
bcm5719-llvm-5c37d57e15ddd477fb46992d358fdba5dfd775b0.zip
Revert "ExecutionEngine: add R_AARCH64_ABS{16,32}"
This reverts commit SVN r313654. Seems that it is triggering an assertion on Windows specifically. Revert until I can build on Windows and look into what is happening there. llvm-svn: 313668
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index a079d95a50f..defe64e4445 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -354,18 +354,6 @@ void RuntimeDyldELF::resolveAArch64Relocation(const SectionEntry &Section,
default:
llvm_unreachable("Relocation type not implemented yet!");
break;
- case ELF::R_AARCH64_ABS16: {
- uint64_t Result = Value + Addend;
- assert(static_cast<int64_t>(Result) >= INT16_MIN && Result < UINT16_MAX);
- write(isBE, TargetPtr, static_cast<uint16_t>(Result & 0xffffU));
- break;
- }
- case ELF::R_AARCH64_ABS32: {
- uint64_t Result = Value + Addend;
- assert(static_cast<int64_t>(Result) >= INT32_MIN && Result < UINT32_MAX);
- write(isBE, TargetPtr, static_cast<uint32_t>(Result & 0xffffffffU));
- break;
- }
case ELF::R_AARCH64_ABS64:
write(isBE, TargetPtr, Value + Addend);
break;
OpenPOWER on IntegriCloud