kpatch/kpatch-build
Seth Jennings b49bfac8fa fix included syms pointing to non-included sections
Right now, there is a case where a symbol is included but not its
section.  This is the case when the symbol is a rela dependency of
another section by the symbol section (the object or function) has not
changed.  When we migrate the included symbols over to the output kelf
structure however, these symbols are still referencing their old
non-included section via their sec fields.  This is a bug.

This commit adds code to the symbol migration to test whether the
symbol's section was also included.  If so, it updates the symbol's
section index.  If not it sets the section index to UNDEF and its sec
field to NULL.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-05-20 12:44:30 -05:00
..
add-patches-section.c Revert #186 (add dynamic symbol linking support) 2014-05-15 17:34:16 -05:00
create-diff-object.c fix included syms pointing to non-included sections 2014-05-20 12:44:30 -05:00
kpatch-build kpatch-build: use original vmlinux 2014-05-16 21:19:25 -05:00
link-vmlinux-syms.c Revert #186 (add dynamic symbol linking support) 2014-05-15 17:34:16 -05:00
list.h fix list corruption in special section handlers 2014-05-15 15:27:53 -05:00
Makefile Revert #186 (add dynamic symbol linking support) 2014-05-15 17:34:16 -05:00