Merge patch series "RISC-V: Disable DWARF5 with known broken LLVM versions"
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 18 Jan 2024 02:08:30 +0000 (18:08 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 18 Jan 2024 02:08:30 +0000 (18:08 -0800)
commit448857ec53a47718b50cdb38b9380660b3f84b20
treea32b9261dbe9a3db2ae962a6d4027b7c54bb9d95
parentc640868491105d53899f9f8e613acd4aa06cef68
parenta4426641f00cd2c293c91e881ab31faaf76b20fb
Merge patch series "RISC-V: Disable DWARF5 with known broken LLVM versions"

Nathan Chancellor <nathan@kernel.org> says:

This series disables DWARF5 for LLVM versions where it is known to be
broken due to linker relaxation.

* b4-shazam-merge:
  lib/Kconfig.debug: Update AS_HAS_NON_CONST_LEB128 comment and name
  riscv: Restrict DWARF5 when building with LLVM to known working versions
  riscv: Hoist linker relaxation disabling logic into Kconfig

Link: https://github.com/llvm/llvm-project/commit/bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6
Link: https://lore.kernel.org/r/20231205-riscv-restrict-dwarf5-llvm-v2-0-aedf00a382ac@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/Makefile