Add check_lto_available
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Dec 2012 17:56:09 +0000 (17:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 7 Dec 2012 17:56:09 +0000 (17:56 +0000)
commit3bd58fbe7576a68f9361978288457ab6e0912e3b
treea219476defefdc2d05e8febbc58208e82ba12775
parent741e01282880b5fd10c43ad74445bb5825e95197
Add check_lto_available

* lib/ld-lib.exp (check_lto_available): New.  Check if compiler
supports LTO.
ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp