]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
objtool: Check for missing annotation entries in read_annotate()
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:31 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:45:24 +0000 (14:45 -0700)
commit3e4b5f66cf1a7879a081f5044ff1796aa33cb999
tree3a665a4c05203ed2656f28e460dfa2a6c79bd225
parent4cdee7888f42f5573b380ddfa9da43208e759bdc
objtool: Check for missing annotation entries in read_annotate()

Add a sanity check to make sure none of the relocations for the
.discard.annotate_insn section have gone missing.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/check.c