1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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 9eb3674bd8
commit 384dabfad9

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;