criu/compel
Wojciech Marczenko 749eb33a92 compel: Calculate sh_addr if not provided by linker
GNU ld precalculates this information but lld does not. With this
change, handle-elf.c calculates those addresses on its own.

When calculating addresses sections with SHF_ALLOC bit are put one after
another, respecting their alignment requirements. This matches the way
how the blob is constructed by copying section contents.

Signed-off-by: Wojciech Marczenko <marczenko@google.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2020-10-20 00:18:24 -07:00
..
arch compel: remove x86/prologue.S 2020-10-20 00:18:24 -07:00
include compel: allocate the GOT table to avoid memory corruption 2020-10-20 00:18:24 -07:00
plugins compel: rewrite parasite cmd and args manipulation from assembly to C 2020-10-20 00:18:24 -07:00
src compel: Calculate sh_addr if not provided by linker 2020-10-20 00:18:24 -07:00
test compel: Remove compel.h 2020-03-27 19:36:20 +03:00
.gitignore compel: adapt .gitgnore for aarch64 and ppc64le 2017-08-09 18:51:42 +03:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile compel: Don't use CFLAGS_PIE for libcompel.so 2019-09-07 15:59:50 +03:00