mirror of
https://github.com/dynup/kpatch
synced 2024-12-26 23:32:04 +00:00
change in wording per jpoimboe
This commit is contained in:
parent
96b4e099d8
commit
3e14e1859f
@ -2351,7 +2351,7 @@ void kpatch_create_mcount_sections(struct kpatch_elf *kelf)
|
|||||||
list);
|
list);
|
||||||
if (rela->type != R_X86_64_NONE ||
|
if (rela->type != R_X86_64_NONE ||
|
||||||
strcmp(rela->sym->name, "__fentry__"))
|
strcmp(rela->sym->name, "__fentry__"))
|
||||||
ERROR("rela '%s' has no fentry section; unable to patch", sym->sec->rela->name);
|
ERROR("function '%s' has no fentry call; unable to patch", sym->sec->rela->name);
|
||||||
rela->type = R_X86_64_PC32;
|
rela->type = R_X86_64_PC32;
|
||||||
|
|
||||||
index++;
|
index++;
|
||||||
|
Loading…
Reference in New Issue
Block a user