diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-02-04 04:34:11 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-02-04 04:34:11 -0800 |
commit | 8962a307ae3dd59166a4a6dc4e60a4da880686cd (patch) | |
tree | 7691aeb47301fe79767b6f051d21468e5ffdcc97 /ld | |
parent | 3101e6373ee4bd78f7efbe21a730a4327b0ca8f6 (diff) | |
download | gdb-8962a307ae3dd59166a4a6dc4e60a4da880686cd.zip gdb-8962a307ae3dd59166a4a6dc4e60a4da880686cd.tar.gz gdb-8962a307ae3dd59166a4a6dc4e60a4da880686cd.tar.bz2 |
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')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-plugin/lto.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 876bafa..1041bd1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld-plugin/lto.exp: Pass -flto-partition=none to the PR + ld/12365 test. + 2015-02-03 H.J. Lu <hongjiu.lu@intel.com> PR ld/12365 diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 400e683..065e1bb 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 } { |