This patch prevents a linker testsuite error if the checks are run with a
authorNick Clifton <nickc@redhat.com>
Mon, 7 Jul 2014 13:41:10 +0000 (14:41 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Jul 2014 13:41:10 +0000 (14:41 +0100)
commit19aef622f37ae4f940d6e3ef6835fd5519289178
tree8415f3af294ee419206cc0c8ecddf4a8c82f2d79
parentf1d7f4a64c4d92911127abe6dbab95a219405c2b
This patch prevents a linker testsuite error if the checks are run with a
toolchain that just contains the binutils - ie without a compiler.

* lib/ld-lib.exp (check_lto_available): Check that a compiler is
available before testing for LTO support.
ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp