kpatch/kpatch-build
Longjun Luo 9fac261ed0 kpatch-build: rela section could disappear after patched
After patched, rela information for some sections could
disappear. For example, a function like the following:

"
notrace noinline static int version_proc_show(struct seq_file *m,
    void *v)
{
    return 0;
}
"

Apart from common rela entries, trace and return thunk mechanism
will generate rela information. Use `notrace` to remove the
effect of trace. Make CONFIG_RETHUNK=n can remove the effect of
return thunk.

Discovered-by: Zongwu Li <lizongwu@huawei.com>
Signed-off-by: Longjun Luo <luolongjuna@gmail.com>
2022-09-21 10:10:41 +08:00
..
gcc-plugins gcc-plugin: GCC 10 - update local/non local insn names 2020-06-12 13:27:06 +05:30
insn insn: get it to compile in create-diff-object 2014-05-30 15:19:57 -05:00
create-diff-object.c kpatch-build: rela section could disappear after patched 2022-09-21 10:10:41 +08:00
create-klp-module.c create-diff-object: rename "sec" -> "relasec" for rela sections 2022-05-11 17:00:25 -07:00
create-kpatch-module.c kpatch-elf: pass new ELF output file mode to kpatch_write_output_elf() 2020-09-25 09:30:13 -04:00
kpatch-build kpatch-build: fix KBUILD_MODNAME for OOT modules 2022-08-05 09:29:39 -07:00
kpatch-cc kpatch-cc: fix stripping of source tree prefix 2022-07-27 10:29:36 -07:00
kpatch-elf.c kpatch-build: use err.h instead of error.h for musl support 2022-08-05 08:52:03 +02:00
kpatch-elf.h create-diff-object: move addend math to a new function 2022-05-11 17:02:04 -07:00
kpatch-intermediate.h lookup: rename 'pos' to 'sympos' 2020-04-06 15:18:58 -05:00
kpatch.h kpatch-build: add exit status enum 2018-06-15 07:11:48 -04:00
list.h new .fixup group size algorithm 2014-09-15 14:54:57 -05:00
log.h kpatch-build: use err.h instead of error.h for musl support 2022-08-05 08:52:03 +02:00
lookup.c kpatch-build: use err.h instead of error.h for musl support 2022-08-05 08:52:03 +02:00
lookup.h Switch to per-file lookup table pointers. 2021-08-17 09:37:44 +02:00
Makefile kpatch/s390: Enable kpatch build support 2022-05-20 15:50:29 +02:00