ecoff testsuite fixes
authorAlan Modra <amodra@gmail.com>
Sat, 20 Jun 2020 01:17:32 +0000 (10:47 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Jun 2020 01:29:11 +0000 (10:59 +0930)
The aim of this change is to remove a whole lot of "assembly failed"
errors for ecoff targets.

* testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets.
* testsuite/ld-elf/binutils.exp: Likewise.
* testsuite/ld-elf/tls.exp: Likewise.
* testsuite/ld-elf/tls_common.exp: Likewise.
* testsuite/ld-scripts/phdrs2.exp: Likewise.

ld/ChangeLog
ld/testsuite/ld-alpha/alpha.exp
ld/testsuite/ld-elf/binutils.exp
ld/testsuite/ld-elf/tls.exp
ld/testsuite/ld-elf/tls_common.exp
ld/testsuite/ld-scripts/phdrs2.exp

index c47fbca01c80d7bf0407ac9562ca82312dab7a9d..f9e4a43ce1e4e386d02a16f3dbb19e2497d52c7f 100644 (file)
@@ -1,3 +1,11 @@
+2020-06-20  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets.
+       * testsuite/ld-elf/binutils.exp: Likewise.
+       * testsuite/ld-elf/tls.exp: Likewise.
+       * testsuite/ld-elf/tls_common.exp: Likewise.
+       * testsuite/ld-scripts/phdrs2.exp: Likewise.
+
 2020-06-20  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
index f4a395bed4956407e37ee519c8aa500745933e38..084f7f99608cf85769c77da1e35c06725aae1371 100644 (file)
@@ -22,8 +22,8 @@
 # Test Alpha ELF linking; all types of relocs.  This tests the
 # assembler and tools like objdump as well as the linker.
 
-if { !([istarget "alpha*-*-elf*"]
-       || [istarget "alpha*-*-linux*"]) } {
+if { !([istarget alpha*-*-elf*]
+       || ([istarget alpha*-*-linux*] && ![istarget *ecoff])) } {
     return
 }
 
index ecaecdd05bf47ef28903bf4012982ef1ea453125..fc54c9869fa7b5f0d3652093e1d88796e263334f 100644 (file)
 
 # Make sure that binutils can correctly handle ld output in ELF.
 
-if { ![istarget *-*-linux*]
-     && ![istarget arm*-*-uclinuxfdpiceabi]
-     && ![istarget *-*-nacl*]
-     && ![istarget *-*-gnu*]} {
+if { !([istarget *-*-linux*]
+       || [istarget arm*-*-uclinuxfdpiceabi]
+       || [istarget *-*-nacl*]
+       || [istarget *-*-gnu*]) || [istarget *ecoff] } then {
     return
 }
 
index 15c382fcb4f9869d25b01811745c6475c787daee..8afbb9f1297ce414596c5d16b563c82e60db1e8c 100644 (file)
 
 # Make sure that binutils can correctly handle TLS.
 
-if { ![istarget *-*-linux*]
-     && ![istarget arm*-*-uclinuxfdpiceabi]
-     && ![istarget *-*-nacl*]
-     && ![istarget *-*-gnu*] } {
+if { !([istarget *-*-linux*]
+       || [istarget arm*-*-uclinuxfdpiceabi]
+       || [istarget *-*-nacl*]
+       || [istarget *-*-gnu*]) || [istarget *ecoff] } then {
     return
 }
 
index 3e14ccfc21565bd2719b519d4a54674d104744cf..2b6532550fdc9ee18b8298f476a4763570ae386c 100644 (file)
 
 # Make sure that binutils can correctly handle ld output in ELF.
 
-if { ![istarget *-*-linux*]
-     && ![istarget arm*-*-uclinuxfdpiceabi]
-     && ![istarget *-*-nacl*]
-     && ![istarget *-*-gnu*] } {
+if { !([istarget *-*-linux*]
+       || [istarget arm*-*-uclinuxfdpiceabi]
+       || [istarget *-*-nacl*]
+       || [istarget *-*-gnu*]) || [istarget *ecoff] } then {
     return
 }
 
index d781c6dafbba8a4c032b4df192db3df61cb1e636..2fae24fed57f31529feab0b73871422183d2d801 100644 (file)
 # MA 02110-1301, USA.
 
 # PHDRS2 is only meaningful for ELF.
-if {    ![istarget *-*-sysv4*] \
-     && ![istarget *-*-unixware*] \
-     && ![istarget *-*-elf*] \
-     && ![istarget *-*-eabi*] \
-     && ![istarget hppa*64*-*-hpux*] \
-     && ![istarget *-*-linux*] \
-     && ![istarget arm*-*-uclinuxfdpiceabi] \
-     && ![istarget *-*-gnu*] \
-     && ![istarget *-*-irix5*] \
-     && ![istarget *-*-irix6*] \
-     && ![istarget *-*-solaris2*] } {
+if { !([istarget *-*-sysv4*]
+       || [istarget *-*-unixware*]
+       || [istarget *-*-elf*]
+       || [istarget *-*-eabi*]
+       || [istarget hppa*64*-*-hpux*]
+       || [istarget *-*-linux*]
+       || [istarget arm*-*-uclinuxfdpiceabi]
+       || [istarget *-*-gnu*]
+       || [istarget *-*-irix5*]
+       || [istarget *-*-irix6*]
+       || [istarget *-*-solaris2*]) || [istarget *ecoff] } then {
     return
 }
 
This page took 0.028255 seconds and 4 git commands to generate.