]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Use section/symbol type helpers
authorWentong Tian <tianwentong2000@gmail.com>
Thu, 22 Jan 2026 14:44:04 +0000 (22:44 +0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Fri, 6 Mar 2026 16:08:19 +0000 (08:08 -0800)
commitc19c854b307424c745dd6de73eea8db099c79408
tree961e62a38896a8e7c7ee7812d13555946468ff95
parent11439c4635edd669ae435eec308f4ab8a0804808
objtool: Use section/symbol type helpers

Commit 25eac74b6bdb ("objtool: Add section/symbol type helpers")
introduced several helper macros to improve code readability.

Update the remaining open-coded checks in check.c, disas.c, elf.c,
and klp-diff.c to use these new helpers.

Signed-off-by: Wentong Tian <tianwentong2000@gmail.com>
Link: https://patch.msgid.link/20260122144404.40602-1-tianwentong2000@gmail.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/check.c
tools/objtool/disas.c
tools/objtool/elf.c
tools/objtool/klp-diff.c