mirror of https://github.com/dynup/kpatch
kpatch-build: fix typo s/.rela.kpatch.patches/.rela.kpatch.funcs
Fix the kpatch_create_dynamic_rela_sections: s/.rela.kpatch.patches/.rela.kpatch.funcs Signed-off-by: Li Bin <huawei.libin@huawei.com>
This commit is contained in:
parent
495948242e
commit
2722978fd6
|
@ -2392,7 +2392,7 @@ void kpatch_create_dynamic_rela_sections(struct kpatch_elf *kelf,
|
|||
list_for_each_entry(sec, &kelf->sections, list) {
|
||||
if (!is_rela_section(sec))
|
||||
continue;
|
||||
if (!strcmp(sec->name, ".rela.kpatch.patches") ||
|
||||
if (!strcmp(sec->name, ".rela.kpatch.funcs") ||
|
||||
!strcmp(sec->name, ".rela.kpatch.dynrelas"))
|
||||
continue;
|
||||
list_for_each_entry_safe(rela, safe, &sec->relas, list) {
|
||||
|
|
Loading…
Reference in New Issue