kpatch/kpatch-build
Sumanth Korikkar b0330ab18e kpatch/s390: Add additional bundled symbols.
1. static const struct inet_sock fake_sk = {
	/* makes ip6_route_output set RT6_LOOKUP_F_IFACE: */
	.sk.sk_bound_dev_if = 1,
	.pinet6 = (struct ipv6_pinfo *) &fake_pinfo,
};

gcc can place fake_sk in .data.rel.ro.local:
ndx 38, data 0x3ffb3280a58, size 960, name .data.rel.ro.local.fake_sk.1
ndx 39, data 0x3ffb32be5e8, size 24, name .rela.data.rel.ro.local.fake_sk.1

2. static LIST_HEAD(patch_objects);

gcc can place patch_objects relocation in .data.rel.local:
sym 56, type 1, bind 0, ndx 34, name patch_objects -> .data.rel.local

Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
2022-05-20 15:50:29 +02:00
..
gcc-plugins gcc-plugin: GCC 10 - update local/non local insn names 2020-06-12 13:27:06 +05:30
insn
Makefile create-diff-object: move addend math to a new function 2022-05-11 17:02:04 -07:00
create-diff-object.c kpatch/s390: Add additional bundled symbols. 2022-05-20 15:50:29 +02: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/s390: Add initial support for kpatch 2022-05-20 15:50:29 +02:00
kpatch-cc kpatch/s390: Add exclusion lists 2022-05-20 15:50:29 +02:00
kpatch-elf.c kpatch/s390: Add initial support for kpatch 2022-05-20 15:50:29 +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
kpatch.h
list.h
log.h
lookup.c lookup: fix symtab parsing 2022-05-20 15:50:29 +02:00
lookup.h Switch to per-file lookup table pointers. 2021-08-17 09:37:44 +02:00