]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
LoongArch: Improve the reliability of test cases
authorLulu Cai <cailulu@loongson.cn>
Sat, 16 Aug 2025 03:48:32 +0000 (11:48 +0800)
committercailulu <cailulu@loongson.cn>
Fri, 22 Aug 2025 03:34:00 +0000 (11:34 +0800)
commit99ee75c1cd0d43b37d89b045d8984f68763af323
tree6aa69eac7023a9cb48e2fbf4da70deda382d8d47
parent64c7560c6a37f848974eec5422fbbbf3fb265aa2
LoongArch: Improve the reliability of test cases

Fix PR ld/31101

In some distributions, GCC enables --as-needed by default, which
may prevent linking to necessary dynamic libraries and cause test
failures. When tests require the host GCC, use the --no-as-needed
option and place the necessary dynamic libraries after the object
files. This prevents test failures and improves the test case
reliability.
ld/testsuite/ld-loongarch-elf/pic.exp