summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-05-18 14:13:26 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-05-18 14:16:16 -0700
commit941036f4ffb95a553fd1a0c44313d72ddcf5cbf0 (patch)
tree0ceb5cdc4b24bc5e256cfab1032315ab67d73baf
parent7ff8cb8c51adec9cd1b461f9b670223d01223fef (diff)
downloadbinutils-gdb-941036f4ffb95a553fd1a0c44313d72ddcf5cbf0.tar.gz
ld: Run pr23189 for all targets
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.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-i386/i386.exp2
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index fcd50a5dd02..eb7fac4892c 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 7aec5345cf3..5683a75208f 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 563e782e2e5..9654cda4fac 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"