Fix linker detection in check_gc_sections_available
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 2 Nov 2016 10:27:23 +0000 (10:27 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 2 Nov 2016 10:27:23 +0000 (10:27 +0000)
commitfdb1aa55d096d306cb04e4e9318c9c1a4bbc71e5
tree5c3a30a6938a2426795c49609e53a9ff186dc889
parent4adbcdb4ba25f10c6ad581688ff6cd8bff070655
Fix linker detection in check_gc_sections_available

* lib/target-supports.exp (check_gc_sections_available): Use
-print-prog-name=ld to determine linker used.

From-SVN: r241783
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp