]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld, testsuite, ctf: really test -gctf even if the compiler warns
authorNick Alcock <nick.alcock@oracle.com>
Tue, 11 Feb 2025 15:33:51 +0000 (15:33 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 15:13:24 +0000 (15:13 +0000)
commit8ab2fdda02b070528ecbb776b87f275c4c9f3c8c
tree54c4267072415aa1a2d4405c6629a36cf7d2a57d
parent5a1d8eca5c331edab4e424c2034685433efa4bf5
ld, testsuite, ctf: really test -gctf even if the compiler warns

Commit a12c988767e5bd6b6a15dd6ca5e3b277f5627c64 endeavoured to
improve the CTF-availability test by having it try to create
CTF even if the compiler appears not to be working, checking
for the presence of likely-valid generated assembler instead.

Unfortunately this commit didn't remove the actual call to
check_compiler_available, so it didn't really improve anything.
Remove that call to induce proper testing on platforms in which
the compiler emits warnings.

ld/
* testsuite/lib/ld-lib.exp (check_ctf_available): Don't
require a working compiler before testing.
ld/testsuite/lib/ld-lib.exp