]> www.infradead.org Git - users/dwmw2/linux.git/commit
kbuild: enable objtool for *.mod.o and additional kernel objects
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 13 Nov 2024 23:45:22 +0000 (08:45 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 27 Nov 2024 23:11:55 +0000 (08:11 +0900)
commitbede169618c68379e1be7ace14e8ac85b964a9ec
tree3d8177b74f9e9d913996b1c0c5c0d84af82c0585
parent000e22a80de0727839bb753159ac05c8ba20c3e3
kbuild: enable objtool for *.mod.o and additional kernel objects

Currently, objtool is disabled in scripts/Makefile.{modfinal,vmlinux}.

This commit moves rule_cc_o_c and rule_as_o_S to scripts/Makefile.lib
and set objtool-enabled to y there.

With this change, *.mod.o, .module-common.o,  builtin-dtb.o, and
vmlinux.export.o will now be covered by objtool.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.build
scripts/Makefile.lib
scripts/Makefile.modfinal
scripts/Makefile.vmlinux