[PATCH v1 0/2] Fix objtool warnings with RUST on LoongArch
From: Tiezhu Yang
Date: Tue Sep 09 2025 - 05:34:02 EST
This series is to fix objtool warnings when compiling with LLVM and
CONFIG_RUST is set, thanks WANG Rui and Miguel for your suggestions
about RUST.
The second patch uses the option -Zno-jump-tables, here is a related
discussion:
https://github.com/rust-lang/rust/pull/145974#issuecomment-3236418282
Tiezhu Yang (2):
LoongArch: Make LTO case independent in Makefile
LoongArch: Handle jump tables option for RUST
arch/loongarch/Kconfig | 4 ++++
arch/loongarch/Makefile | 16 +++++++++++-----
2 files changed, 15 insertions(+), 5 deletions(-)
--
2.42.0