kpatch/test
Josh Poimboeuf 87939db272 create-diff-object: skip dynrelas for function pointers to new functions
With #755, we started using dynrelas for function pointers.  However,
this behavior only makes sense for function pointers to existing
functions.  For function pointers to *new* functions, just use a normal
rela.

The 'function-ptr-new' unit test is from the following patch:

  https://github.com/dynup/kpatch/files/1927198/new-static-callback.patch.txt

Fixes #834.

Fixes: 495e619750 ("kpatch-build, x86: do not use the patched functions as callbacks directly")
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2018-04-19 07:56:12 -05:00
..
integration Testcase: Clean up gcc-static-local-var-2 2018-04-06 12:11:05 +05:30
testmod kmod: restructure kpatch sysfs tree 2017-02-27 20:07:16 -08:00
unit create-diff-object: skip dynrelas for function pointers to new functions 2018-04-19 07:56:12 -05:00
difftree.sh Prepare for built-in.o -> built-in.a rename 2018-03-20 10:46:50 +01:00