From 23cdeeea0f70ceb46710c33271baedef6e936f49 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Tue, 4 Aug 2015 15:29:00 +0000 Subject: [RuntimeDyld] Adapt PPC64 relocations to PPC32 Begin adapting some of the implemented PPC64 relocations for PPC32 (with a test case). Patch by Pierre-Andre Saulais! llvm-svn: 243991 --- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h') diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h index 1a2552deed9..040f986e20f 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h @@ -43,6 +43,9 @@ class RuntimeDyldELF : public RuntimeDyldImpl { void resolveMIPSRelocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend); + void resolvePPC32Relocation(const SectionEntry &Section, uint64_t Offset, + uint64_t Value, uint32_t Type, int64_t Addend); + void resolvePPC64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend); -- cgit v1.2.3