mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +00:00
compel/handle-elf.c: handle R_PPC64_REL32
When compiled with clang-3.8 on ppc, compel complains: > GEN criu/pie/parasite-native-blob.h > parasite_native_blob: Error (compel/src/lib/handle-elf-host.c:541): > Unsupported relocation of type 26 Look into R_PPC64_REL64/R_PPC64_ADDR64 and handle 32-bit the same way. travis-ci: success for PPC+clang compile fixes Cc: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
3da152a5ab
commit
084b0fb0ec
@ -415,6 +415,7 @@ int __handle_elf(void *mem, size_t size)
|
||||
break;
|
||||
|
||||
case R_PPC64_ADDR32:
|
||||
case R_PPC64_REL32:
|
||||
pr_debug("\t\t\tR_PPC64_ADDR32 at 0x%-4lx val 0x%x\n",
|
||||
place, (unsigned int)(value32 + addend32));
|
||||
pr_out(" { .offset = 0x%-8x, .type = COMPEL_TYPE_INT, "
|
||||
|
Loading…
x
Reference in New Issue
Block a user