Allow lto tests to run with older compilers
authorAlan Modra <amodra@gmail.com>
Wed, 6 Aug 2014 03:56:18 +0000 (13:26 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Aug 2014 03:56:18 +0000 (13:26 +0930)
commitc3e11cbe51085fed6ca1c90f56611b8cbbabe3eb
tree702294bdfcf73ef89c4a4cbd52827849a3204a3e
parent7cd4e5b756fa5c1ebe0ba7dd04e45d46330a7675
Allow lto tests to run with older compilers

* lib/ld-lib.exp (check_lto_fat_available): New.
(check_lto_available): Remove -ffat-lto-objects test.
* ld-plugin/lto.exp: Use [list ] rather than { } to set up list
variables, allowing substition of vars.  Set lto_fat and plug_opt
and add to various tests.
ld/testsuite/ChangeLog
ld/testsuite/ld-plugin/lto.exp
ld/testsuite/lib/ld-lib.exp