Re: [PATCH 0/2] Fix objtool warnings if LTO is enabled for LoongArch
From: Nathan Chancellor
Date: Thu Aug 14 2025 - 19:01:52 EST
On Tue, Aug 12, 2025 at 09:27:14PM +0800, Tiezhu Yang wrote:
> The patch #1 should be a preparation for patch #2, that is to say,
> the patch #2 is dependent on the patch #1, otherwise there is build
> error if LTO is enabled after only applying patch #2.
Thanks, these two patches do indeed resolve most of the warnings that I
see.
Tested-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> With this series, most of warnings have been silenced, only remains
> the following warning by now, it needs more analysis:
>
> vmlinux.o: warning: objtool: __efistub_efi_boot_kernel() falls through
> to next function __efistub_exit_boot_func()
Yes, I do see this one too. Odd, as efi_boot_kernel() ends in a
__noreturn function...
Cheers,
Nathan