On Mon, Sep 01, 2025 at 04:31:36PM +0800, Tiezhu Yang wrote:
On 2025/9/1 下午4:16, Peter Zijlstra wrote:
On Mon, Sep 01, 2025 at 03:21:54PM +0800, Tiezhu Yang wrote:
When compiling with LLVM and CONFIG_LTO_CLANG is set, there exists
the following objtool warning:
Josh suggested to do something so that the EFI stub code isn't linked into
vmlinux.o [2], it needs to modify the link process and seems too
complicated and expensive for this warning to some extent.
So I did this change for objtool.
I don't like adding these workarounds to objtool. Is it really that
complicated to link efistub separately? That seems like the proper
design. vmlinux.o should only have real kernel code.