]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ns32k testsuite tidy
authorAlan Modra <amodra@gmail.com>
Tue, 16 Apr 2019 08:38:11 +0000 (18:08 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 16 Apr 2019 10:29:55 +0000 (19:59 +0930)
Some of these tests were excluded for ns32k-netbsd, exclude for all
ns32k instead.

binutils/
* testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
* testsuite/binutils-all/copy-3.d: Likewise.
gas/
* testsuite/gas/all/gas.exp: Remove ns32k xfails.
* testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
ld/
* testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
* testsuite/ld-scripts/section-match-1.d: Likewise.
* testsuite/ld-undefined/require-defined.exp: Likewise.

binutils/ChangeLog
binutils/testsuite/binutils-all/copy-2.d
binutils/testsuite/binutils-all/copy-3.d
gas/ChangeLog
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/weakref1u.d
ld/ChangeLog
ld/testsuite/ld-scripts/pr20302.d
ld/testsuite/ld-scripts/section-match-1.d
ld/testsuite/ld-undefined/require-defined.exp

index ac547548f218d952c19facc79b89d4a55791aad0..254a374f60c427d14f4381b84f8ae5d30d1662d4 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
+       * testsuite/binutils-all/copy-3.d: Likewise.
+
 2019-04-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
index 1cd9439c225bfe89697821837b041a7039b21cb2..9eda63bc87a5f8c4379710aa0d53e71c9c74ee29 100644 (file)
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags foo=contents,alloc,load,code
 #name: copy with setting section flags 2
 #source: copytest.s
-#notarget: *-*-*aout *-*-aix* h8300-*-* hppa*-*-hpux* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-netbsd
+#notarget: *-*-*aout *-*-aix* h8300-*-* hppa*-*-hpux* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-*
 # Note - we use copytest.s and a section named "foo" rather
 # than .text because for some file formats (eg PE) the .text
 # section has a fixed set of flags and these cannot be changed.
index 92d81e0422dc4ce5297493f1a9075d05acb2c91f..dd28719e8b998dd2b4633385faad74d8aa521dd4 100644 (file)
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags .text=alloc,data
 #name: copy with setting section flags 3
 #source: bintest.s
-#notarget: *-*-*aout *-*-*coff *-*-cygwin* *-*-darwin *-*-mingw* *-*-go32 *-*-*pe hppa*-*-hpux* ns32k-*-netbsd powerpc-*-aix* rs6000-*-* rx-*-*
+#notarget: *-*-*aout *-*-*coff *-*-cygwin* *-*-darwin *-*-mingw* *-*-go32 *-*-*pe hppa*-*-hpux* ns32k-*-* powerpc-*-aix* rs6000-*-* rx-*-*
 # The .text # section in PE/COFF has a fixed set of flags and these
 # cannot be changed.  We skip it for them.
 
index d74071bf12f5c11cac3acd49b9253d5bff171610..a2ff1ed4bd63bcb1e0478baeca7bb9df59a7f306 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/all/gas.exp: Remove ns32k xfails.
+       * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
+
 2019-04-16  Alan Modra  <amodra@gmail.com>
 
        * write.h: Don't include bit_fix.h.
index 9ea95c62a9e703d77e126725f5587d2bdeadf5c8..a91f8c29d2a799ccbb6e7d7e69d9b502ebfde965 100644 (file)
@@ -282,7 +282,6 @@ case $target_triplet in {
     default {
        run_dump_test struct
        run_dump_test align
-       setup_xfail "ns32k-*-*"
        run_dump_test align2
     }
 }
@@ -407,7 +406,6 @@ case $target_triplet in {
     { *c54x*-*-* } { }
     { z80-*-* } { }
     default {
-       setup_xfail "nds32*-*-*"
        run_dump_test weakref1
        run_dump_test weakref1g
        run_dump_test weakref1l
index 94823c2766e2cb4742c1f40d3aa3f0e9e54e9b98..5b8d84895b269ef36a6f1b4405667c36eef1038d 100644 (file)
@@ -3,7 +3,7 @@
 #source: weakref1.s
 # aout turns undefined into *ABS* symbols.
 # see weakref1.d for comments on the other notargets
-#notarget: *-*-*aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff
+#notarget: *-*-*aout ns32k-*-* alpha*-*-osf* *-*-ecoff
 
 # the rest of this file is generated with the following script:
 # # script begin
index 81dc36a2fdcdf089cf6ee40af13496a7557828b5..4e4edb3ad8aac78954eb502be5cfb2b9a502f21a 100644 (file)
@@ -1,3 +1,9 @@
+2019-04-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
+       * testsuite/ld-scripts/section-match-1.d: Likewise.
+       * testsuite/ld-undefined/require-defined.exp: Likewise.
+
 2019-04-15  Faraz Shahbazker  <fshahbazker@wavecomp.com>
 
        * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
index 36fd53eb140336f3949ed04ff27ebfc0131b7057..b89e32b349e63972444d9d575cf3cb198b46350b 100644 (file)
@@ -1,11 +1,11 @@
 #ld: -Tdata=0x1000 -Tdata=0x2000 -Tcross2.t
 #source: align2a.s
 #objdump: -h
-#notarget: rx-*-* *-*-*aout *-*-netbsd x86_64-*-cygwin *-*-vms
+#notarget: *-*-*aout *-*-netbsd *-*-vms ns32k-*-* rx-*-* x86_64-*-cygwin
+# AOUT and NETBSD (ns32k is aout) have fixed address for the data section.
+# VMS targets need extra libraries.
 # RX uses non standard section names.
-# AOUT and NETBSD  have fixed address for the data section.
 # x86_64 Cygwin biases all start addresses to be > 2Gb.
-# VMS targets need extra libraries.
 
 #...
   . \.data[    ]+0+[0-9a-f]+[  ]+0+02000[      ]+0+02000.*
index 5644b3eff74e05ae395c8d416d0fb0dab40f7cea..5ea3bbb8f6db41a6d3879883707787df42fcd84f 100644 (file)
@@ -1,7 +1,7 @@
 #source: section-match-1.s
 #ld: -T section-match-1.t
 #objdump: -s
-#notarget: *-*-osf* *-*-aix* *-*-pe *-*-*aout *-*-ecoff *-*-netbsd *-*-vms h8300-*-* tic30-*-*
+#notarget: *-*-osf* *-*-aix* *-*-pe *-*-*aout *-*-ecoff *-*-netbsd *-*-vms h8300-*-* ns32k-*-* tic30-*-*
 # This test uses arbitrary section names, which are not support by some
 # file formats.  Also these section names must be present in the
 # output, not translated into some other name, eg .text
index ba926c7c6215e40b0613dce2a862a3aa13dd3589..1ee864c7c3a115eac39ab90a8446c4b91c88d897 100644 (file)
@@ -33,7 +33,7 @@ if ![check_gc_sections_available] {
 # number of targets, I'm just skipping the tests in these cases.]
 if { [istarget "powerpcle-*-*"] \
      || [istarget "cris-axis-elf"] \
-     || [istarget "ns32k-*-netbsd"] \
+     || [istarget "ns32k-*-*"] \
      || [istarget "*-*-coff"] \
      || [istarget "*-*-xcoff"] \
      || [istarget "*-*-*aout*"] \