mirror of https://github.com/dynup/kpatch
85def82275
A few symbols are discarded in the kernel linking phase, which means they won't be in the lookup table. Skip their comparison. This fixes a bunch of warnings seen when building a patch which triggers a tree-wide rebuild: create-diff-object: ERROR: aes_glue.o: find_local_syms: 112: find_local_syms for aes_glue.c: found_none create-diff-object: ERROR: aesni-intel_glue.o: find_local_syms: 112: find_local_syms for aesni-intel_glue.c: found_none create-diff-object: ERROR: init.o: find_local_syms: 112: find_local_syms for init.c: found_none create-diff-object: ERROR: iosf_mbi.o: find_local_syms: 112: find_local_syms for iosf_mbi.c: found_none create-diff-object: ERROR: setup.o: find_local_syms: 112: find_local_syms for setup.c: found_none ... After this patch, there's still one warning remaining: create-diff-object: ERROR: dynamic_debug.o: find_local_syms: 133: find_local_syms for dynamic_debug.c: found_none That one has a completely different cause, which I'll fix in another pull request (coming soon). Fixes: #676 |
||
---|---|---|
.. | ||
insn | ||
Makefile | ||
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 |