]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Refactor add_jump_destinations()
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:45 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:46:48 +0000 (14:46 -0700)
commita05de0a772ce423895a3b07504a9ed93ae75e912
tree4b5ce5516e42353fecb5617888baf74ba7e1fa45
parent935c0b6a059106c09bf5cdb70f42c1a8650843af
objtool: Refactor add_jump_destinations()

The add_jump_destinations() logic is a bit weird and convoluted after
being incrementally tweaked over the years.  Refactor it to hopefully be
more logical and straightforward.

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