ld: Run pr23189 for all targets

Message ID 20180518211448.17390-1-hjl.tools@gmail.com
State New
Headers show
Series
  • ld: Run pr23189 for all targets
Related show

Commit Message

H.J. Lu May 18, 2018, 9:14 p.m.
Since the pr23189 test isn't Linux specific, run it for all targets.

	* testsuite/ld-i386/i386.exp: Run pr23189 for all targets.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
---
 ld/ChangeLog                      | 5 +++++
 ld/testsuite/ld-i386/i386.exp     | 2 +-
 ld/testsuite/ld-x86-64/x86-64.exp | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.17.0

Patch

diff --git a/ld/ChangeLog b/ld/ChangeLog
index fcd50a5dd0..eb7fac4892 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@ 
+2018-05-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* testsuite/ld-i386/i386.exp: Run pr23189 for all targets.
+	* testsuite/ld-x86-64/x86-64.exp: Likewise.
+
 2018-05-18  John Darrington  <john@darrington.wattle.id.au>
 
 	* Makefile.am: Add support for s12z architecture.
diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp
index 7aec5345cf..5683a75208 100644
--- a/ld/testsuite/ld-i386/i386.exp
+++ b/ld/testsuite/ld-i386/i386.exp
@@ -458,6 +458,7 @@  run_dump_test "pr22115-1d"
 run_dump_test "pr22135"
 run_dump_test "pr22782"
 run_dump_test "pr22929"
+run_dump_test "pr23189"
 
 if { !([istarget "i?86-*-linux*"]
        || [istarget "i?86-*-gnu*"]
@@ -479,7 +480,6 @@  run_dump_test "pr18815"
 run_dump_test "pr19939a"
 run_dump_test "pr19939b"
 run_dump_test "tlsdesc2"
-run_dump_test "pr23189"
 
 proc undefined_weak {cflags ldflags} {
     set testname "Undefined weak symbol"
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index 563e782e2e..9654cda4fa 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -395,6 +395,7 @@  run_dump_test "pr22115-1d-x32"
 run_dump_test "pr22135"
 run_dump_test "pr22782a"
 run_dump_test "pr22782b"
+run_dump_test "pr23189"
 
 if { ![istarget "x86_64-*-linux*"] && ![istarget "x86_64-*-nacl*"]} {
     return
@@ -606,7 +607,6 @@  run_dump_test "pr20253-5b"
 run_dump_test "tlsdesc2"
 run_dump_test "pr22048"
 run_dump_test "pr22929"
-run_dump_test "pr23189"
 
 proc undefined_weak {cflags ldflags} {
     set testname "Undefined weak symbol"