mirror of
https://github.com/dynup/kpatch
synced 2024-12-12 00:14:35 +00:00
create-diff-object: improved error message
This commit is contained in:
parent
4a95a16911
commit
4f78ad65c9
@ -1609,8 +1609,9 @@ void kpatch_create_dynamic_rela_sections(struct kpatch_elf *kelf,
|
||||
if (rela->sym->bind == STB_LOCAL) {
|
||||
if (lookup_local_symbol(table, rela->sym->name,
|
||||
hint, &result))
|
||||
ERROR("lookup_local_symbol %s (%s)",
|
||||
rela->sym->name, hint);
|
||||
ERROR("lookup_local_symbol %s (%s) needed for %s",
|
||||
rela->sym->name, hint,
|
||||
sec->base->name);
|
||||
} else {
|
||||
if(lookup_global_symbol(table, rela->sym->name,
|
||||
&result))
|
||||
|
Loading…
Reference in New Issue
Block a user