mirror of
https://github.com/dynup/kpatch
synced 2025-01-22 21:02:51 +00:00
ebf55f8614
Right now, the test patch unnecessarily includes hrtimer_nanosleep() because the call to do_nanosleep() generates a rela the references the unbundled .sched.text section. This section symbol is not currently replaced by kpatch_replace_sections_syms() as it only replaces bundled sections symbols. This commit adds logic to kpatch_replace_sections_syms() to replace unbundled section symbols as well by scanning the symbol table for symbols that start at the rela entry's offset within the matching section. This allows for properly rela section correlation when the functions have moved from an unbundled section to a bundled section. Signed-off-by: Seth Jennings <sjenning@redhat.com> |
||
---|---|---|
.. | ||
insn | ||
create-diff-object.c | ||
kpatch-build | ||
list.h | ||
lookup.c | ||
lookup.h | ||
Makefile |