From: Alan Modra Date: Mon, 18 Aug 2014 09:08:24 +0000 (+0930) Subject: LTO plugin with older gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42;p=binutils-gdb.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 6b6e8f7ad43..1b43c1f6128 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 7ff5bfb5cdc..3a4f661daf7 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