mirror of https://github.com/dynup/kpatch
21fc274448
This adds dynamic linking support for the patch modules. It is the first step toward supporting patching module code and relocatable kernels. Rela entries that reference non-included local and non-exported global symbols are converted to "dynrelas". These dynrelas are relocations that are done by the core module, not the kernel module linker. This allows the core module to apply offsets to the base addresses found in the base vmlinux or module. Signed-off-by: Seth Jennings <sjenning@redhat.com> Conflicts: kpatch-build/kpatch-build |
||
---|---|---|
.. | ||
Makefile | ||
kpatch-patch-hook.c | ||
kpatch.h | ||
kpatch.lds |