LD_CLASS: Check .libs/ld-new for linker first
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Aug 2017 23:32:30 +0000 (16:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Aug 2017 23:38:09 +0000 (16:38 -0700)
commit7ed1dab994fa1c0cf49d10608b8e77271c9804b4
treef8f0daec84e0ebc2a2e6e5b5775cc85c43d05364
parente8c6b620f70d8cced4a93d8857ad2a57f08a361a
LD_CLASS: Check .libs/ld-new for linker first

When --enable-shared is used, ./ld-new may be a shell script and the
real linker is .libs/ld-new.  We should check .libs/ld-new first.

* testsuite/config/default.exp (LD_CLASS): Check .libs/ld-new
for linker first.
ld/ChangeLog
ld/testsuite/config/default.exp