Files
linux_media/scripts
Sami Tolvanen b1a1a1a09b 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 <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
2021-02-23 12:46:57 -08:00
..
2021-01-14 08:21:09 -08:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2021-02-23 12:46:57 -08:00
2021-02-23 12:46:57 -08:00
2021-02-23 12:46:57 -08:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00