]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool/klp: Handle Clang .data..Lanon anonymous data sections
authorJosh Poimboeuf <jpoimboe@kernel.org>
Fri, 10 Apr 2026 03:50:35 +0000 (20:50 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 5 May 2026 04:16:04 +0000 (21:16 -0700)
commitff0cf5efef40e3b60e7bb27a6072f9a0c6e4c5ce
treee4da5f82e84ae35d724db38bcb71de8e0e676ad3
parent9e4512d7de5ab27c1b0c3891f7a0e9202a5a2eef
objtool/klp: Handle Clang .data..Lanon anonymous data sections

Clang generates anonymous data sections named .data..Lanon.<hash>.
These need section-symbol references in the same way as .data..Lubsan
(GCC) and .data..L__unnamed_ (Clang UBSAN) sections.  Without this,
convert_reloc_sym() fails when processing relocations that reference
these sections.

Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/klp-diff.c