mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 19:14:04 +00:00
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> |
||
|---|---|---|
| .. | ||
| lib | ||
| main-host.c | ||
| main.c | ||