mirror of
https://github.com/dynup/kpatch
synced 2025-01-02 18:52:02 +00:00
kpatch-build: change FILE symbol not found to warning
Change the "FILE symbol not found in base. Stripped?" (fatal) error message into a warning. These crop up whenever a change is made to an assembly file. Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
This commit is contained in:
parent
a8133b1dc3
commit
391c9875ee
@ -3082,8 +3082,10 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!hint)
|
||||
ERROR("FILE symbol not found in base. Stripped?\n");
|
||||
if (!hint) {
|
||||
log_normal("WARNING: FILE symbol not found in base. Stripped object file or assembly source?\n");
|
||||
return 3; /* NO_CHANGE */
|
||||
}
|
||||
|
||||
/* create symbol lookup table */
|
||||
base_locals = kpatch_elf_locals(kelf_base);
|
||||
|
Loading…
Reference in New Issue
Block a user