diff --git a/src/arch/x86_64/patch.c b/src/arch/x86_64/patch.c index bf02278b..4d4c190c 100644 --- a/src/arch/x86_64/patch.c +++ b/src/arch/x86_64/patch.c @@ -201,7 +201,7 @@ int apply_relocate_add(const struct load_info *info, GElf_Shdr *sechdrs, overflow: lerror("overflow in relocation type %s(%d) val %lx\n", rela_type_string(r_type), r_type, val); - lerror("likely not compiled with -mcmodel=kernel.\n"); + lerror("likely not compiled with -fpic and -fno-PIE.\n"); return -ENOEXEC; }