Re: DIGEST: testsuite

Correct test target/skip lines to fix fails on alpha-dec-vms,
alpha-linux-gnuecoff, i386-bsd, i386-msdos, ns32k-openbsd,
ns32k-pc532-mach, pdp11-dec-aout, rs6000-aix*, tic4x-coff, and
tic54x-coff.
diff --git a/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d b/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d
index 09df3cb..148297d 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-endian-contents.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-endian-size.s
 #ld: -T crc64-bad-endian-size.t
 # error: .*: bad 'endian' .* in digest label.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-bad-endian-size.d b/ld/testsuite/ld-scripts/crc64-bad-endian-size.d
index 09df3cb..148297d 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-endian-size.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-endian-size.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-endian-size.s
 #ld: -T crc64-bad-endian-size.t
 # error: .*: bad 'endian' .* in digest label.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-bad-label-2.d b/ld/testsuite/ld-scripts/crc64-bad-label-2.d
index 8e9d160..0758461 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-label-2.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-label-2.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-label-2.s
 #ld: -T crc64-bad-label-2.t
 # error: .*: Illegal label .* in digest command.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-bad-label.d b/ld/testsuite/ld-scripts/crc64-bad-label.d
index 9215a10..37c2bb2 100644
--- a/ld/testsuite/ld-scripts/crc64-bad-label.d
+++ b/ld/testsuite/ld-scripts/crc64-bad-label.d
@@ -1,6 +1,5 @@
 #source: crc64-bad-label.s
 #ld: -T crc64-bad-label.t
 # error: .*: Illegal label .* in digest command.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-ecma.d b/ld/testsuite/ld-scripts/crc64-ecma.d
index 06b0476..1c92ff7 100644
--- a/ld/testsuite/ld-scripts/crc64-ecma.d
+++ b/ld/testsuite/ld-scripts/crc64-ecma.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-ecma.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-in-section.d b/ld/testsuite/ld-scripts/crc64-in-section.d
index 6f9d678..ede5d52 100644
--- a/ld/testsuite/ld-scripts/crc64-in-section.d
+++ b/ld/testsuite/ld-scripts/crc64-in-section.d
@@ -1,6 +1,5 @@
 #source: crc64-in-section.s
 #ld: -T crc64-in-section.t
 #error: .*: CRC located inside checked area
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-iso.d b/ld/testsuite/ld-scripts/crc64-iso.d
index 11f85c1..af416d0 100644
--- a/ld/testsuite/ld-scripts/crc64-iso.d
+++ b/ld/testsuite/ld-scripts/crc64-iso.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-iso.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-iso_be.d b/ld/testsuite/ld-scripts/crc64-iso_be.d
index e256b41..0707aae 100644
--- a/ld/testsuite/ld-scripts/crc64-iso_be.d
+++ b/ld/testsuite/ld-scripts/crc64-iso_be.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-iso_be.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-multiple-digest.d b/ld/testsuite/ld-scripts/crc64-multiple-digest.d
index 5a1e5cc..c027914 100644
--- a/ld/testsuite/ld-scripts/crc64-multiple-digest.d
+++ b/ld/testsuite/ld-scripts/crc64-multiple-digest.d
@@ -1,6 +1,5 @@
 #source: crc64-multiple-digest.s
 #ld: -T crc64-multiple-digest.t
 # error: .*: Duplicate digest .*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-poly-size.d b/ld/testsuite/ld-scripts/crc64-poly-size.d
index 841dd83..6a3651c 100644
--- a/ld/testsuite/ld-scripts/crc64-poly-size.d
+++ b/ld/testsuite/ld-scripts/crc64-poly-size.d
@@ -1,6 +1,5 @@
 #source: crc64-poly-size.s
 #ld: -T crc64-poly-size.t
 # error: .*: Illegal Size in DIGEST: .*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-poly.d b/ld/testsuite/ld-scripts/crc64-poly.d
index 6be05b6..b54ac47 100644
--- a/ld/testsuite/ld-scripts/crc64-poly.d
+++ b/ld/testsuite/ld-scripts/crc64-poly.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-poly.t
 #objdump: -s -j .text
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-reverse-area.d b/ld/testsuite/ld-scripts/crc64-reverse-area.d
index 344e8d2..4f2a3d1 100644
--- a/ld/testsuite/ld-scripts/crc64-reverse-area.d
+++ b/ld/testsuite/ld-scripts/crc64-reverse-area.d
@@ -1,6 +1,5 @@
 #source: crc64-reverse-area.s
 #ld: -T crc64-reverse-area.t
 # error: .*: CRC area starts after its end location.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-same-section.d b/ld/testsuite/ld-scripts/crc64-same-section.d
index 787145a..779f24a 100644
--- a/ld/testsuite/ld-scripts/crc64-same-section.d
+++ b/ld/testsuite/ld-scripts/crc64-same-section.d
@@ -1,6 +1,5 @@
 #source: crc64-same-section.s
 #ld: -T crc64-same-section.t
 #error: .*: The CRC digest and table should be inside the .*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*
diff --git a/ld/testsuite/ld-scripts/crc64-section.d b/ld/testsuite/ld-scripts/crc64-section.d
index 16e625b..fe1f83c 100644
--- a/ld/testsuite/ld-scripts/crc64-section.d
+++ b/ld/testsuite/ld-scripts/crc64-section.d
@@ -2,10 +2,7 @@
 #ld: -T crc64-section.t
 #objdump: -s -j .foo
 #target: [is_elf_format] [is_coff_format]
-#notarget: [is_aout_format]
-#xfail: tic4x-*-* tic54x-*-*
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#skip: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-scripts/crc64-unknown-digest.d b/ld/testsuite/ld-scripts/crc64-unknown-digest.d
index 051b06c..2e41758 100644
--- a/ld/testsuite/ld-scripts/crc64-unknown-digest.d
+++ b/ld/testsuite/ld-scripts/crc64-unknown-digest.d
@@ -1,6 +1,5 @@
 #source: crc64-unknown-digest.s
 #ld: -T crc64-unknown-digest.t
 # error: .*: Unknown digest.*
-#skip: tic4x-coff, tic54x-cof
-#skip: ns32k-pc532-macho, pdp11-dec-aout, powerpc-ibm-aix5.2.0
-#skip: rs6000-aix4.3.3, alpha-linuxecoff
+#target: [is_elf_format] [is_coff_format]
+#skip: tic4x-*-* tic54x-*-*