From: H.J. Lu Date: Wed, 4 Feb 2015 12:34:11 +0000 (-0800) Subject: Pass -flto-partition=none to the PR ld/12365 test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8962a307ae3dd59166a4a6dc4e60a4da880686cd;p=binutils-gdb.git Pass -flto-partition=none to the PR ld/12365 test * ld-plugin/lto.exp: Pass -flto-partition=none to the PR ld/12365 test. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 876bafa84fe..1041bd1b3d8 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 H.J. Lu + + * ld-plugin/lto.exp: Pass -flto-partition=none to the PR + ld/12365 test. + 2015-02-03 H.J. Lu PR ld/12365 diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 400e683ec72..065e1bbcd08 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 } {