forked from dynup/kpatch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create-diff-object: handle __initcall_stub with CONFIG_LTO_CLANG
The kernel use a special __initcall_stub() with CONFIG_LTO_CLANG to avoid name collisions. Handle it in kpatch_mangled_strcmp() by ignoring all digits for symbols start with __initstub__kmod_syscall__. Signed-off-by: Song Liu <[email protected]>
- Loading branch information
1 parent
a45c17f
commit 298a4cc
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters