From: Will Dietz Date: Sat, 28 Jan 2017 18:39:01 +0000 (+0000) Subject: RuntimeDyldELF: Don't abort on R_X86_64_NONE, it's a no-oop. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ca31561b6c65c09410abb7669cdf9741801d1a9;p=llvm RuntimeDyldELF: Don't abort on R_X86_64_NONE, it's a no-oop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293388 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 56b7c49164f..8e7437ac4ff 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -272,6 +272,8 @@ void RuntimeDyldELF::resolveX86_64Relocation(const SectionEntry &Section, default: llvm_unreachable("Relocation type not implemented yet!"); break; + case ELF::R_X86_64_NONE: + break; case ELF::R_X86_64_64: { support::ulittle64_t::ref(Section.getAddressWithOffset(Offset)) = Value + Addend;