aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-02-04 04:34:11 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-02-04 04:34:11 -0800
commit8962a307ae3dd59166a4a6dc4e60a4da880686cd (patch)
tree7691aeb47301fe79767b6f051d21468e5ffdcc97 /ld/testsuite/ld-plugin
parent3101e6373ee4bd78f7efbe21a730a4327b0ca8f6 (diff)
Pass -flto-partition=none to the PR ld/12365 test
* ld-plugin/lto.exp: Pass -flto-partition=none to the PR ld/12365 test.
Diffstat (limited to 'ld/testsuite/ld-plugin')
-rw-r--r--ld/testsuite/ld-plugin/lto.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index 400e683ec7..065e1bbcd0 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -384,7 +384,7 @@ if {![string match "" $catch_output]} {
if { [at_least_gcc_version 4 7] } {
# Check expected LTO linker errors.
set testname "PR ld/12365"
- set exec_output [run_host_cmd "$CC" "-O2 -flto -fuse-linker-plugin tmpdir/pr12365a.o tmpdir/pr12365b.o tmpdir/pr12365c.o"]
+ set exec_output [run_host_cmd "$CC" "-O2 -flto -flto-partition=none -fuse-linker-plugin tmpdir/pr12365a.o tmpdir/pr12365b.o tmpdir/pr12365c.o"]
if { [ regexp "undefined reference to `my_bcopy'" $exec_output ] } {
pass $testname
} {