This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove tests that test __gnu_lto_v1 symbol.


Hi.

As of r273662, the GCC compiler stopped emitting __gnu_lto_v1 symbol
for LTO objects.

Thus I'm suggesting to remove the tests for it.

Ready for trunk?
Thanks,
Martin

ld/ChangeLog:

2019-07-22  Martin Liska  <mliska@suse.cz>

	* 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 \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]