]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: Support LD_UNDER_TEST environment variable
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Mar 2024 13:23:19 +0000 (06:23 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Mar 2024 14:07:54 +0000 (07:07 -0700)
commitf6080a91c5e283deff59337711091111e75d94a2
tree143c46bfabfc7a239987b7c3bdfb7949a20f39d1
parent2c16eb1d8346f0d390f5278d5ff187854c2d5879
ld: Support LD_UNDER_TEST environment variable

Support LD_UNDER_TEST environment variable to test a different linker.
Issue an error if LD_UNDER_TEST isn't an absolute full path.

* testsuite/config/default.exp: If LD_UNDER_TEST environment
variable exists, set ld and LD to it and set up tmpdir/ld/ld.
Issue an error if LD_UNDER_TEST isn't an absolute full path.
ld/testsuite/config/default.exp