kpatch/test/unit/x86_64
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
..
bug-table-section.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
bug-table-section.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
convert-global-local.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
convert-global-local.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
data-new.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
data-new.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
data-read-mostly.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
data-read-mostly.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
fixup-section.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
fixup-section.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
function-ptr-new.ORIG.o create-diff-object: skip dynrelas for function pointers to new functions 2018-04-19 07:56:12 -05:00
function-ptr-new.PATCHED.o create-diff-object: skip dynrelas for function pointers to new functions 2018-04-19 07:56:12 -05:00
gcc-constprop.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-constprop.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-isra.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-isra.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-mangled-3.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-mangled-3.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-2.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-2.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-3.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-3.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-4.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-4.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-4.test x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-5.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
gcc-static-local-var-5.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
macro-hooks.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
macro-hooks.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
Makefile x86_64: integration test objs 2018-04-13 18:10:34 +02:00
meminfo-init2.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
meminfo-init2.PATCHED.FAIL.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
meminfo-init.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
meminfo-init.PATCHED.FAIL.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
module-kvm-fixup.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
module-kvm-fixup.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
new-fuction.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
new-fuction.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
parainstructions-section.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
parainstructions-section.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
replace-section-references.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
replace-section-references.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
smp-locks-section.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
smp-locks-section.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
special-static-2.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
special-static-2.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
special-static.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
special-static.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
tracepoints-section.ORIG.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00
tracepoints-section.PATCHED.o x86_64: integration test objs 2018-04-13 18:10:34 +02:00