
With LTO, everything is compiled into LLVM bitcode, so we have to link each module into native code before modpost. Kbuild uses the .lto.o suffix for these files, which also ends up in module information. This change strips the unnecessary .lto suffix from the module name. Bug: 145210207 Change-Id: I25b97a586f273b1b8d1f153b71e567136b0016ec Link: https://lore.kernel.org/lkml/20201211184633.3213045-11-samitolvanen@google.com/ Suggested-by: Bill Wendling <morbo@google.com> Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Reviewed-by: Kees Cook <keescook@chromium.org>
9.7 KiB
9.7 KiB