RuntimeDyldELF: Don't abort on R_X86_64_NONE, it's a no-oop.

llvm-svn: 293388
This commit is contained in:
Will Dietz 2017-01-28 18:39:01 +00:00
parent 10294b932c
commit f47d26ac2b
1 changed files with 2 additions and 0 deletions

View File

@ -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;