mirror of
https://github.com/dynup/kpatch
synced 2025-02-19 11:16:54 +00:00
kpatch_replace_sections_syms() assumes that all bundled symbols start at section offset zero. With ppc64le and GCC 6+, that assumption is no longer accurate. When replacing a rela symbol section with its corresponding symbol, adjust the addend as necessary. Also, with this fix in place, the workaround in create_klp_relasecs_and_syms() can be removed. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> |
||
---|---|---|
.. | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-gcc | ||
kpatch-intermediate.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |