mirror of
https://github.com/dynup/kpatch
synced 2025-02-02 02:01:33 +00:00
7cfcce1ed6
This commit adds a new function to properly handle the bug table. It works by going through .rela__bug_table, after the changed function symbols have already been marked, and rewrites the section including only the relocations pertaining to bug entries for changed functions. The __bug_table section itself is not modified resulting in "blank" bug entries: ones whose IP and filename pointers will not be relocated and, therefore, will be zero. While a waste of space, it simplifies the code not to remove these blank entries. They do no harm. Signed-off-by: Seth Jennings <sjenning@redhat.com> |
||
---|---|---|
.. | ||
add-patches-section.c | ||
create-diff-object.c | ||
kpatch-build | ||
link-vmlinux-syms.c | ||
Makefile |