mirror of
https://github.com/dynup/kpatch
synced 2024-12-14 17:34:34 +00:00
75ceca4f33
Currently, add-patches-section just blindly looks in vmlinux for a function symbol matching the name of the patched function in the input object file. However, for local symbols, they may appear multiple times in the vmlinux symbol table since the symbol name may be reused locally in different files. This commit add support for "file hinting". It tracks what file the symbol is in and searches for local symbols within that file in vmlinux first. If it doesn't find one, it then searches globally like it always has. Fixes issue #53 Signed-off-by: Seth Jennings <sjenning@redhat.com> |
||
---|---|---|
.. | ||
add-patches-section.c | ||
create-diff-object.c | ||
kpatch-build | ||
link-vmlinux-syms.c | ||
Makefile |