change in wording per jpoimboe

This commit is contained in:
Corey Henderson 2014-09-08 22:21:20 -04:00
parent 96b4e099d8
commit 3e14e1859f

View File

@ -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++;