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
..
2020-11-07 13:20:41 +01:00
2020-08-10 01:32:59 +09:00
2020-08-27 00:44:33 +09:00
2020-12-15 20:55:19 +01:00
2020-10-12 09:58:15 -05:00
2020-12-04 14:09:55 -08:00
2020-10-16 11:11:22 -07:00
2020-12-21 13:57:08 +09:00
2020-12-21 14:48:54 +09:00
2021-01-14 08:21:09 -08:00
2020-11-02 11:31:00 +09:00
2020-08-17 20:42:00 -04:00
2020-12-08 23:30:04 +09:00
2020-09-25 00:36:41 +09:00
2020-12-08 23:30:04 +09:00
2020-12-04 22:32:40 +01:00
2020-08-14 13:30:03 +09:00
2020-12-29 15:36:49 -08:00
2020-12-24 12:59:43 +01:00
2020-12-08 23:30:04 +09:00
2020-10-16 11:11:21 -07:00
2020-08-07 11:33:21 -07:00
2020-10-13 18:38:26 -07:00
2021-01-01 12:26:39 -08:00
2020-09-04 18:19:37 +02:00
2020-12-08 23:30:04 +09:00
2020-08-18 20:16:46 +09:00
2021-01-14 08:21:09 -08:00
2020-12-08 23:30:04 +09:00
2020-12-04 14:34:27 -07:00
2020-10-16 11:11:19 -07:00
2020-08-07 13:29:39 -07:00
2020-09-25 00:41:54 +09:00
2020-10-21 00:28:53 +09:00
2020-12-03 15:56:14 -07:00
2021-02-23 12:46:57 -08:00
2020-12-01 22:46:06 +09:00
2021-01-14 08:21:09 -08:00
2020-09-25 00:36:41 +09:00
2021-02-23 12:46:57 -08:00
2020-08-10 01:32:59 +09:00
2020-12-08 23:30:05 +09:00
2020-08-10 01:32:59 +09:00
2020-09-25 00:36:50 +09:00
2020-08-10 01:32:59 +09:00
2020-10-22 13:13:57 -07:00
2021-02-23 12:46:57 -08:00
2021-02-23 12:46:57 -08:00
2021-01-14 08:21:08 -08:00
2020-12-15 22:46:18 -08:00
2020-10-21 00:46:04 +09:00
2021-01-14 08:21:08 -08:00
2020-12-12 18:31:29 +01:00
2020-08-10 15:22:06 +01:00
2020-11-20 19:19:11 +01:00
2020-09-25 02:28:12 +09:00
2020-12-08 23:30:04 +09:00
2020-10-02 11:31:26 +02:00
2020-10-15 15:11:56 -07:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2020-10-09 08:55:17 +02:00