aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-08-24 18:24:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-08-24 18:24:52 +0000
commit029b79d7681923edda5e411b98731496ed64e2ae (patch)
treeffe174fe8a39ad883e4c28fd1ecccf42ef2b2870 /ld
parentce79e999114bde9cdfe04fcf8265528b4fbe6c95 (diff)
downloadbinutils-current-029b79d7681923edda5e411b98731496ed64e2ae.tar.gz
Use failif on ld-elf/exclude3 tests
* ld-elf/exclude3a.d: Remove target and use failif. * ld-elf/exclude3b.d: Change target to *-*-linux* *-*-gnu* and use failif * ld-elf/exclude3d.d: Removed.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog9
-rw-r--r--ld/testsuite/ld-elf/exclude3a.d8
-rw-r--r--ld/testsuite/ld-elf/exclude3b.d8
-rw-r--r--ld/testsuite/ld-elf/exclude3d.d9
4 files changed, 16 insertions, 18 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index dbca5ed40..e6c2ae0a6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,14 @@
2012-08-24 H.J. Lu <hongjiu.lu@intel.com>
+ * ld-elf/exclude3a.d: Remove target and use failif.
+
+ * ld-elf/exclude3b.d: Change target to *-*-linux* *-*-gnu* and
+ use failif
+
+ * ld-elf/exclude3d.d: Removed.
+
+2012-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
* ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test.
2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
diff --git a/ld/testsuite/ld-elf/exclude3a.d b/ld/testsuite/ld-elf/exclude3a.d
index 7343e4528..2647cce41 100644
--- a/ld/testsuite/ld-elf/exclude3a.d
+++ b/ld/testsuite/ld-elf/exclude3a.d
@@ -1,10 +1,8 @@
#source: exclude3.s
#ld:
#readelf: -S --wide
-#target: x86_64-*-* i?86-*-* ia64-*-*
+#failif
+#...
+[ ]*\[.*\][ ]+\.foo1[ ]+.*
#...
-[ ]*\[.*\][ ]+NULL.*
-[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*
-[ ]*\[.*\][ ]+.*STRTAB.*
-#pass
diff --git a/ld/testsuite/ld-elf/exclude3b.d b/ld/testsuite/ld-elf/exclude3b.d
index 8d8a43fd9..553c30b85 100644
--- a/ld/testsuite/ld-elf/exclude3b.d
+++ b/ld/testsuite/ld-elf/exclude3b.d
@@ -1,9 +1,9 @@
#source: exclude3.s
#ld: --shared
#readelf: -S --wide
-#target: x86_64-*-* i?86-*-*
+#target: *-*-linux* *-*-gnu*
+#failif
+#...
+[ ]*\[.*\][ ]+\.foo1[ ]+.*
#...
-[ ]*\[.*\][ ]+\.dynamic[ ]+DYNAMIC.*
-[ ]*\[.*\][ ]+.*STRTAB.*
-#pass
diff --git a/ld/testsuite/ld-elf/exclude3d.d b/ld/testsuite/ld-elf/exclude3d.d
deleted file mode 100644
index 0d487f5eb..000000000
--- a/ld/testsuite/ld-elf/exclude3d.d
+++ /dev/null
@@ -1,9 +0,0 @@
-#source: exclude3.s
-#ld: --shared
-#readelf: -S --wide
-#target: ia64-*-*
-
-#...
-[ ]*\[.*\][ ]+\.got.*[ ]+PROGBITS.*
-[ ]*\[.*\][ ]+.*STRTAB.*
-#pass