diff options
author | Alan Modra <amodra@gmail.com> | 2014-08-18 18:38:24 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-08-18 21:01:26 +0930 |
commit | cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42 (patch) | |
tree | bf773ebb5bdac2ea65ca9afc3c23b4af71fc1e29 /ld | |
parent | 1009ef284f3932c41cff1158818c87821fe511fa (diff) | |
download | gdb-cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42.zip gdb-cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42.tar.gz gdb-cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42.tar.bz2 |
LTO plugin with older gcc
* ld-plugin/lto.exp: Use gcc -print-file-name to find lto plugin.
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 |