From: Alan Modra Date: Mon, 18 Aug 2014 09:08:24 +0000 (+0930) Subject: LTO plugin with older gcc X-Git-Tag: binutils-2_25~565 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42;p=external%2Fbinutils.git LTO plugin with older gcc * ld-plugin/lto.exp: Use gcc -print-file-name to find lto plugin. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 6b6e8f7..1b43c1f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2014-08-18 Alan Modra + * ld-plugin/lto.exp: Use gcc -print-file-name to find lto plugin. + +2014-08-18 Alan Modra + * ld-plugin/needed3.c: New file. * ld-elf/shared.exp: Add needed3 test. diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 7ff5bfb..3a4f661 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -45,7 +45,7 @@ set plugin_names { } set plug_opt "" foreach plug $plugin_names { - set plug_so [run_host_cmd $CC "--print-prog-name $plug"] + set plug_so [run_host_cmd $CC "--print-file-name $plug"] if { $plug_so ne $plug } then { set plug_opt "--plugin $plug_so" break