From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25042 invoked by alias); 16 Apr 2019 10:29:30 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 25032 invoked by uid 89); 16 Apr 2019 10:29:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=4077, HX-Spam-Relays-External:sk:mail-pf, HX-HELO:sk:mail-pf, H*RU:sk:mail-pf X-HELO: mail-pf1-f179.google.com Received: from mail-pf1-f179.google.com (HELO mail-pf1-f179.google.com) (209.85.210.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Apr 2019 10:29:28 +0000 Received: by mail-pf1-f179.google.com with SMTP id t21so10196786pfh.2 for ; Tue, 16 Apr 2019 03:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=tMGOXrTFBDH7cwuHsiOWTubSvvtYS88MYf1AE6nrxL0=; b=FYSzhmSWRV+0RbF1WVWIl2YSp6drl7LFyg+a2630rQ7DOgUkqsFMQx8fEX7J3DsOHE 48DsCTV+0Ts/oh7ikWIuEyjJBmMFjpsypfaGNB36cso2lJtryuPBE8laMww75b6xEBY3 raQvZGE0pZLWuB88OrwlB3WjrUt8sAtShity0RNQ1LSq20eEierpg7sfa9r445nmGaPU Ierg9GQCa+9bX2b/PvQ1qG1AdrJ/ntvstM0Ozx2WiVoal4vnyTD+Mdyy+885gEzMlwHg Umhsgtf2uRs2D5NnqXDP87PGW0nHFV30t5le9YvTfcvglz6yigKCODeExSWcvznOBP/R pMNg== Return-Path: Received: from bubble.grove.modra.org ([2406:3400:51d:8cc0:a54c:3b44:fdf4:13ac]) by smtp.gmail.com with ESMTPSA id i2sm76750569pfo.9.2019.04.16.03.29.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 03:29:25 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 2ED7B803FD; Tue, 16 Apr 2019 19:59:22 +0930 (ACST) Date: Tue, 16 Apr 2019 10:29:00 -0000 From: Alan Modra To: binutils@sourceware.org Subject: ns32k testsuite tidy Message-ID: <20190416102922.GV14424@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00185.txt.bz2 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. diff --git a/binutils/testsuite/binutils-all/copy-2.d b/binutils/testsuite/binutils-all/copy-2.d index 1cd9439c22..9eda63bc87 100644 --- a/binutils/testsuite/binutils-all/copy-2.d +++ b/binutils/testsuite/binutils-all/copy-2.d @@ -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. diff --git a/binutils/testsuite/binutils-all/copy-3.d b/binutils/testsuite/binutils-all/copy-3.d index 92d81e0422..dd28719e8b 100644 --- a/binutils/testsuite/binutils-all/copy-3.d +++ b/binutils/testsuite/binutils-all/copy-3.d @@ -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. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 9ea95c62a9..a91f8c29d2 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -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 diff --git a/gas/testsuite/gas/all/weakref1u.d b/gas/testsuite/gas/all/weakref1u.d index 94823c2766..5b8d84895b 100644 --- a/gas/testsuite/gas/all/weakref1u.d +++ b/gas/testsuite/gas/all/weakref1u.d @@ -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 diff --git a/ld/testsuite/ld-scripts/pr20302.d b/ld/testsuite/ld-scripts/pr20302.d index 36fd53eb14..b89e32b349 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 5644b3eff7..5ea3bbb8f6 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 ba926c7c62..1ee864c7c3 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*"] \ -- Alan Modra Australia Development Lab, IBM