]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Mark prefix functions
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:39 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:46:47 +0000 (14:46 -0700)
commita1526bcfcb6cb7cb601b9ff8e24d08881ef9afb8
tree32d43845f4ee4fafb3e9877cfcdfedf5ef21efac
parentc9e9b85d41f9079d6a10faabf70a0b18d5c0f177
objtool: Mark prefix functions

In preparation for the objtool klp diff subcommand, introduce a flag to
identify __pfx_*() and __cfi_*() functions in advance so they don't need
to be manually identified every time a check is needed.

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
tools/objtool/elf.c
tools/objtool/include/objtool/elf.h