aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2020-04-13 23:10:13 +0000
committerKees Cook <[email protected]>2021-02-23 20:46:57 +0000
commitb1a1a1a09b4606d41723a426110382d2077c26fb (patch)
tree4c6672f8aa90443585f2ceb4cb4e65425d800c6a /scripts/mod/file2alias.c
parentobjtool: Split noinstr validation from --vmlinux (diff)
downloadkernel-b1a1a1a09b4606d41723a426110382d2077c26fb.tar.gz
kernel-b1a1a1a09b4606d41723a426110382d2077c26fb.zip
kbuild: lto: postpone objtool
With LTO, LLVM bitcode won't be compiled into native code until modpost_link, or modfinal for modules. This change postpones calls to objtool until after these steps, and moves objtool_args to Makefile.lib, so the arguments can be reused in Makefile.modfinal. As we didn't have objects to process earlier, we use --duplicate when processing vmlinux.o. This change also disables unreachable instruction warnings with LTO to avoid warnings about the int3 padding between functions. Signed-off-by: Sami Tolvanen <[email protected]> Reviewed-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions