All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix objtool warnings if LTO is enabled for LoongArch
@ 2025-08-12 13:27 Tiezhu Yang
  2025-08-12 13:27 ` [PATCH 1/2] objtool/LoongArch: Get table size correctly if LTO is enabled Tiezhu Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tiezhu Yang @ 2025-08-12 13:27 UTC (permalink / raw)
  To: Josh Poimboeuf, Peter Zijlstra, Huacai Chen, Nathan Chancellor
  Cc: loongarch, linux-kernel

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.

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()

How to reproduce:

  $ make ARCH=loongarch LLVM=1 clean defconfig
  $ scripts/config -d LTO_NONE -e LTO_CLANG_THIN
  $ make ARCH=loongarch LLVM=1 olddefconfig all

Tiezhu Yang (2):
  objtool/LoongArch: Get table size correctly if LTO is enabled
  LoongArch: Pass annotate-tablejump option if LTO is enabled

 arch/loongarch/Makefile                |  6 ++++++
 tools/objtool/arch/loongarch/special.c | 23 +++++++++++++++++++++++
 2 files changed, 29 insertions(+)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-18  3:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12 13:27 [PATCH 0/2] Fix objtool warnings if LTO is enabled for LoongArch Tiezhu Yang
2025-08-12 13:27 ` [PATCH 1/2] objtool/LoongArch: Get table size correctly if LTO is enabled Tiezhu Yang
2025-08-12 13:27 ` [PATCH 2/2] LoongArch: Pass annotate-tablejump option " Tiezhu Yang
2025-08-14 23:01 ` [PATCH 0/2] Fix objtool warnings if LTO is enabled for LoongArch Nathan Chancellor
2025-08-16 14:59   ` Huacai Chen
2025-08-18  3:48     ` Tiezhu Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.