]> Gentwo Git Trees - linux/.git/commit
kbuild: Check for functions with ambiguous -ffunction-sections section names
authorJosh Poimboeuf <jpoimboe@kernel.org>
Thu, 20 Nov 2025 20:14:20 +0000 (12:14 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 21 Nov 2025 09:04:10 +0000 (10:04 +0100)
commit93863f3f859a626347ce2ec18947b11357b4ca14
tree9fe324f0bd90059b763d4bb51353896520c79fb8
parent31863337138a0482d614f1090727dac87c936959
kbuild: Check for functions with ambiguous -ffunction-sections section names

Commit 9c7dc1dd897a ("objtool: Warn on functions with ambiguous
-ffunction-sections section names") only works for drivers which are
compiled on architectures supported by objtool.

Make a script to perform the same check for all architectures.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/a6a49644a34964f7e02f3a8ce43af03e72817180.1763669451.git.jpoimboe@kernel.org
include/asm-generic/vmlinux.lds.h
scripts/Makefile.vmlinux_o
scripts/check-function-names.sh [new file with mode: 0755]