summaryrefslogtreecommitdiff
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-27 13:01:55 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2022-06-01 17:07:29 +0300
commitf6b66ca4f38b1169313383aec7fa0a8446205ebb (patch)
treed2fd6a7785d73c7e4a7f0e4b4e9c58a387facdf7 /scripts/link-vmlinux.sh
parentebd191b38c5ea177318543a08e544cf2f7df944d (diff)
downloadlinux-f6b66ca4f38b1169313383aec7fa0a8446205ebb.tar.xz
kbuild: rebuild multi-object modules when objtool is updated
When CONFIG_LTO_CLANG or CONFIG_X86_KERNEL_IBT is enabled, objtool for multi-object modules is postponed until the objects are linked together. Make sure to re-run objtool and re-link multi-object modules when objtool is updated. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Tested-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM-14 (x86-64)
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions