X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Ftestsuite%2Flib%2Fbinutils-common.exp;h=8708030a23f2133ca1f2ca37140d52b6a2a0750a;hb=c65c21e1ffd1e02d9970a4bca0b7e384788a50f0;hp=70b6773894eeb65129270e31de133290aeeb5aad;hpb=f96bd6c2d7a3801fabbf9d834f7a29b752aa7532;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index 70b6773894..8708030a23 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1993-2017 Free Software Foundation, Inc. +# Copyright (C) 1993-2018 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -34,11 +34,13 @@ proc is_elf_format {} { && ![istarget *-*-irix5*] && ![istarget *-*-irix6*] && ![istarget *-*-linux*] + && ![istarget *-*-lynxos*] && ![istarget *-*-nacl*] && ![istarget *-*-netbsd*] && ![istarget *-*-openbsd*] && ![istarget *-*-rtems*] && ![istarget *-*-solaris2*] + && ![istarget *-*-symbianelf*] && ![istarget *-*-sysv4*] && ![istarget *-*-unixware*] && ![istarget *-*-wasm32*] @@ -52,35 +54,19 @@ proc is_elf_format {} { return 0 } - if { [istarget *-*-linux*aout*] - || [istarget *-*-linux*ecoff*] - || [istarget *-*-linux*oldld*] - || [istarget *-*-rtemscoff*] - || [istarget h8500-*-rtems*] - || [istarget i?86-*-freebsd\[12\].*] - || [istarget i960-*-rtems*] } { + if { [istarget *-*-linux*ecoff*] + || [istarget *-*-rtemscoff*] } { return 0 } if { ![istarget *-*-netbsdelf*] - && ( [istarget *-*-netbsd*aout*] - || [istarget *-*-netbsdpe*] - || [istarget arm*-*-netbsd*] - || [istarget sparc-*-netbsd*] - || [istarget i*86-*-netbsd*] - || [istarget m68*-*-netbsd*] - || [istarget vax-*-netbsd*] + && ( [istarget vax-*-netbsd*] || [istarget ns32k-*-netbsd*]) } { return 0 } if { [istarget arm-*-openbsd*] - || [istarget i386-*-openbsd\[0-2\].*] - || [istarget i386-*-openbsd3.\[0-2\]] - || [istarget m68*-*-openbsd*] || [istarget ns32k-*-openbsd*] - || [istarget sparc-*-openbsd\[0-2\].*] - || [istarget sparc-*-openbsd3.\[0-1\]] || [istarget vax-*-openbsd*] } { return 0 } @@ -91,34 +77,13 @@ proc is_elf_format {} { # True if the object format is known to be a.out. # proc is_aout_format {} { - if { [istarget *-*-netbsdelf] - || [istarget sparc64-*-netbsd*] - || [istarget sparc64-*-openbsd*] } { - return 0 - } - if { [istarget *-*-*\[ab\]out*] - || [istarget *-*-linux*oldld*] + if { [istarget *-*-*aout*] || [istarget *-*-bsd*] || [istarget *-*-msdos*] || [istarget arm-*-netbsd*] || [istarget arm-*-openbsd*] - || [istarget arm-*-riscix*] - || [istarget i?86-*-freebsd\[12\].*] - || [istarget i?86-*-netbsd*] - || [istarget i?86-*-openbsd\[0-2\]*] - || [istarget i?86-*-openbsd3.\[0-2\]*] - || [istarget i?86-*-vsta] - || [istarget i?86-*-mach*] - || [istarget m68*-*-netbsd*] - || [istarget m68*-*-openbsd*] || [istarget ns32k-*-*] || [istarget pdp11-*-*] - || [istarget sparc*-*-sunos4*] - || [istarget sparc*-*-netbsd*] - || [istarget sparc*-*-openbsd\[0-2\]*] - || [istarget sparc*-*-openbsd3.\[0-1\]*] - || [istarget sparc*-fujitsu-none] - || [istarget vax-dec-ultrix*] || [istarget vax-*-netbsd] } { return 1 } @@ -171,7 +136,7 @@ proc is_elf64 { binary_file } { # and Visium targets set OSABI to ELFOSABI_STANDALONE and cannot # support STB_GNU_UNIQUE. Likewise non-EABI ARM targets set OSABI to # ELFOSABI_ARM, and TI C6X targets to ELFOSABI_C6000_*. Finally -# rather than `bfd_elf_final_link' AM33/2.0, D30V, DLX, i960, and +# rather than `bfd_elf_final_link' AM33/2.0, D30V, DLX, and # picoJava targets use `_bfd_generic_final_link', which does not # support STB_GNU_UNIQUE symbol binding causing assertion failures. # @@ -199,7 +164,6 @@ proc supports_gnu_unique {} { if { [istarget "am33_2.0-*-*"] || [istarget "d30v-*-*"] || [istarget "dlx-*-*"] - || [istarget "i960-*-*"] || [istarget "pj*-*-*"] } { return 0 }