kpatch/kmod
Josh Poimboeuf 34cc258a31 fix undefined symbols for future loaded modules
When patching module A, if one of the new function's relas reference a
symbol in module B, we currently just leave it as a normal rela.  But if
module B hasn't been loaded yet, the patch module will fail to load due
to the rela's reference to an undefined symbol.

The fix is to convert these relas to dynrelas, which can be resolved
later in the module notifier when A is loaded.

Also added support for the R_X86_64_NONE relocation type, needed for
dynrelas which reference __fentry__.
2014-06-18 11:17:11 -05:00
..
core fix undefined symbols for future loaded modules 2014-06-18 11:17:11 -05:00
patch fix undefined symbols for future loaded modules 2014-06-18 11:17:11 -05:00
Makefile kmod: install core module to "extra" subdir 2014-05-13 15:10:40 -05:00