diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-plugin/lto.exp | 2 |
2 files changed, 5 insertions, 1 deletions
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 <amodra@gmail.com> + * ld-plugin/lto.exp: Use gcc -print-file-name to find lto plugin. + +2014-08-18 Alan Modra <amodra@gmail.com> + * 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 |