]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Convert elf iterator macros to use 'struct elf'
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:35 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:45:25 +0000 (14:45 -0700)
commit96eceff331ea535b763b161df01300bbfd93b372
treecbef885215be3a4ca4cccbb4835fc7d68ffbc394
parent72e4b6b44e9f53990315c6dd9fae2b2fc89c021a
objtool: Convert elf iterator macros to use 'struct elf'

'struct objtool_file' is specific to the check code and doesn't belong
in the elf code which is supposed to be objtool_file-agnostic.  Convert
the elf iterator macros to use 'struct elf' instead.

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
tools/objtool/orc_gen.c