-
Cyrill Gorcunov authored
We should use provided @nr_relocs instead of ARRAY_SIZE here. Didn't spot it earlier simply because at moment on x86-64 there is no relocs at all. Also when we apply relocation they are to be computed from virtual base of parasite address, not from local memory map address, so add @vbase parameter. And fix typo on addend in gotpcrel. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
5258d95e
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile | ||
| elf-x86-32.c | ||
| elf-x86-64.c | ||
| elf.c | ||
| main.c | ||
| piegen.h |