From 8c728a9d93e2342c57039fcdd6e4a502875b9e09 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 22 Jul 2019 14:23:32 +0200 Subject: [PATCH] Remove tests that test __gnu_lto_v1 symbol. ld/ChangeLog: 2019-07-22 Martin Liska * testsuite/ld-plugin/lto-3r.d: Remove. * testsuite/ld-plugin/lto-5r.d: Remove. * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r tests. --- ld/testsuite/ld-plugin/lto-3r.d | 7 ------- ld/testsuite/ld-plugin/lto-5r.d | 7 ------- ld/testsuite/ld-plugin/lto.exp | 6 ------ 3 files changed, 20 deletions(-) delete mode 100644 ld/testsuite/ld-plugin/lto-3r.d delete mode 100644 ld/testsuite/ld-plugin/lto-5r.d diff --git a/ld/testsuite/ld-plugin/lto-3r.d b/ld/testsuite/ld-plugin/lto-3r.d deleted file mode 100644 index 3726718f2a..0000000000 --- a/ld/testsuite/ld-plugin/lto-3r.d +++ /dev/null @@ -1,7 +0,0 @@ -#ld: -r tmpdir/lto-3b.o -#source: dummy.s -#nm: -p - -#... -[0-9a-f]+ C _?__gnu_lto_v.* -#pass diff --git a/ld/testsuite/ld-plugin/lto-5r.d b/ld/testsuite/ld-plugin/lto-5r.d deleted file mode 100644 index ad1da7047b..0000000000 --- a/ld/testsuite/ld-plugin/lto-5r.d +++ /dev/null @@ -1,7 +0,0 @@ -#ld: -r tmpdir/lto-5a.o tmpdir/lto-5b.o -#source: dummy.s -#nm: -p - -#... -[0-9a-f]+ C _?__gnu_lto_v.* -#pass diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index e913c6f203..b80de4902c 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -630,12 +630,6 @@ if { [at_least_gcc_version 4 7] } { } } -# Run "ld -r" to generate inputs for complex LTO tests. -run_dump_test "lto-3r" -remote_exec host "mv" "tmpdir/dump tmpdir/lto-3.o" -run_dump_test "lto-5r" -remote_exec host "mv" "tmpdir/dump tmpdir/lto-5.o" - run_cc_link_tests $lto_link_symbol_tests run_ld_link_tests [list \ -- 2.34.1