diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2025-11-22 12:01:57 +0100 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-11-22 12:35:02 +0100 |
| commit | 682bf67529fd9d63a94af658b779f9cce549c6d1 (patch) | |
| tree | ddc6a467ae437d8485a8ee9bc116e46b281f719c /tools/docs/lib/parse_data_structs.py | |
| parent | 31b4d3af63f9afcb2661b9be554f0cf55c86573b (diff) | |
selftests/nolibc: use lld to link loongarch binaries
LLVM 21 switched to -mcmodel=medium for LoongArch64 compilations.
This code model uses R_LARCH_ECALL36 relocations which might not be
supported by GNU ld which to nolibc testsuite uses by default.
ld will not resolve the relocation and all function calls will end up
as busy loops.
Use lld instead.
We can not switch to lld for all LLVM builds, as it does not support all
necessary architectures.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
