Skip to content

Commit

Permalink
compel: Add missing 32s support
Browse files Browse the repository at this point in the history
https://github.com/xemul/criu/issues/148#issuecomment-211635122

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
  • Loading branch information
Cyrill Gorcunov authored and xemul committed Apr 20, 2016
1 parent b54171b commit 55fa530
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compel/src/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ int handle_elf(void *mem, size_t size)

#ifdef ELF_X86_64
case R_X86_64_32: /* Symbol + Addend (4 bytes) */
case R_X86_64_32S: /* Symbol + Addend (4 bytes) */
pr_debug("\t\t\t\tR_X86_64_32 at 0x%-4lx val 0x%x\n", place, value32);
pr_out(" { .offset = 0x%-8x, .type = PIEGEN_TYPE_INT, "
".addend = %-8d, .value = 0x%-16x, }, /* R_X86_64_32 */\n",
Expand Down

0 comments on commit 55fa530

Please sign in to comment.