diff options
author | Nathan Chancellor <nathan@kernel.org> | 2023-12-06 00:53:50 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-18 03:08:26 +0100 |
commit | 55b71d2ce133da893ffb1ecd69a34e1fee509292 (patch) | |
tree | cb6fc3d4e8155c6a216d6cc8f7771d9e8261be2c /tools/lib | |
parent | Linux 6.7-rc1 (diff) | |
download | linux-55b71d2ce133da893ffb1ecd69a34e1fee509292.tar.xz linux-55b71d2ce133da893ffb1ecd69a34e1fee509292.zip |
riscv: Hoist linker relaxation disabling logic into Kconfig
Certain configurations may need to be disabled if linker relaxation is
in use, such as DWARF5 with ld.lld < 18. Hoist the logic of whether or
not linker relaxation is in use into Kconfig so decisions can be made at
configuration time.
Reviewed-by: Fangrui Song <maskray@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20231205-riscv-restrict-dwarf5-llvm-v2-1-aedf00a382ac@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions