From a0fb96150814fef91598e0b528c071201fe18891 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 16 Apr 2019 18:08:11 +0930 Subject: ns32k testsuite tidy 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. --- ld/ChangeLog | 6 ++++++ ld/testsuite/ld-scripts/pr20302.d | 6 +++--- ld/testsuite/ld-scripts/section-match-1.d | 2 +- ld/testsuite/ld-undefined/require-defined.exp | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 81dc36a..4e4edb3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2019-04-16 Alan Modra + + * 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 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF diff --git a/ld/testsuite/ld-scripts/pr20302.d b/ld/testsuite/ld-scripts/pr20302.d index 36fd53e..b89e32b 100644 --- a/ld/testsuite/ld-scripts/pr20302.d +++ b/ld/testsuite/ld-scripts/pr20302.d @@ -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.* diff --git a/ld/testsuite/ld-scripts/section-match-1.d b/ld/testsuite/ld-scripts/section-match-1.d index 5644b3e..5ea3bbb 100644 --- a/ld/testsuite/ld-scripts/section-match-1.d +++ b/ld/testsuite/ld-scripts/section-match-1.d @@ -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 diff --git a/ld/testsuite/ld-undefined/require-defined.exp b/ld/testsuite/ld-undefined/require-defined.exp index ba926c7..1ee864c 100644 --- a/ld/testsuite/ld-undefined/require-defined.exp +++ b/ld/testsuite/ld-undefined/require-defined.exp @@ -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*"] \ -- cgit v1.1