]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool/klp: Correlate locals to globals
authorSong Liu <song@kernel.org>
Thu, 5 Mar 2026 23:15:31 +0000 (15:15 -0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Fri, 6 Mar 2026 16:08:34 +0000 (08:08 -0800)
commit4b57e97be22fb8332d05ee1d0fe3c0dd43c828bf
treedfd584c8a1a9be4ebe7af7f7c9b54319a3d1a417
parentcdea5cadb0ca403b1929f8d29929c0eda0f715d6
objtool/klp: Correlate locals to globals

Allow correlating original locals to patched globals, and vice versa.
This is needed when:

1. User adds/removes "static" for a function.
2. CONFIG_LTO_CLANG_THIN promotes local functions and objects to global
   and add .llvm.<hash> suffix.

Signed-off-by: Song Liu <song@kernel.org>
Link: https://patch.msgid.link/20260305231531.3847295-8-song@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/klp-diff.c