diff options
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/elfedit-2.d | 2 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/elfedit-3.d | 2 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/i386/i386.exp | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 3 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/strip-3.d | 2 | ||||
-rw-r--r-- | binutils/testsuite/lib/utils-lib.exp | 3 |
7 files changed, 21 insertions, 6 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 2165aa8..8480a3b 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2010-11-08 Thomas Schwinge <thomas@schwinge.name> + + * lib/utils-lib.exp (is_elf_format): Consider for *-*-gnu*, too. + * binutils-all/elfedit-2.d (target): Likewise. + * binutils-all/elfedit-3.d (target): Likewise. + * binutils-all/i386/i386.exp: Likewise. + * binutils-all/objcopy.exp: Likewise. + * binutils-all/strip-3.d (target): Likewise. + 2010-11-08 Alan Modra <amodra@gmail.com> * binutils-all/objdump.W: Adjust expected result for debug section diff --git a/binutils/testsuite/binutils-all/elfedit-2.d b/binutils/testsuite/binutils-all/elfedit-2.d index af07c1d..56468b5 100644 --- a/binutils/testsuite/binutils-all/elfedit-2.d +++ b/binutils/testsuite/binutils-all/elfedit-2.d @@ -3,7 +3,7 @@ #source: empty.s #readelf: -h #name: Update ELF header 2 -#target: *-*-linux* +#target: *-*-linux* *-*-gnu* #... ELF Header: diff --git a/binutils/testsuite/binutils-all/elfedit-3.d b/binutils/testsuite/binutils-all/elfedit-3.d index c877f46..219cac5 100644 --- a/binutils/testsuite/binutils-all/elfedit-3.d +++ b/binutils/testsuite/binutils-all/elfedit-3.d @@ -3,7 +3,7 @@ #source: empty.s #readelf: -h #name: Update ELF header 3 -#target: *-*-linux* +#target: *-*-linux* *-*-gnu* #... ELF Header: diff --git a/binutils/testsuite/binutils-all/i386/i386.exp b/binutils/testsuite/binutils-all/i386/i386.exp index 2ca4bd5..5b33e67 100644 --- a/binutils/testsuite/binutils-all/i386/i386.exp +++ b/binutils/testsuite/binutils-all/i386/i386.exp @@ -15,7 +15,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. -if {!([istarget "i*86-*-linux*"] || [istarget "x86_64-*-linux*"]) || ![is_elf_format] || [is_remote host]} then { +if {!([istarget "i*86-*-linux*"] + || [istarget "i*86-*-gnu*"] + || [istarget "x86_64-*-linux*"]) + || ![is_elf_format] + || [is_remote host]} then { return } diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index c93372c..0e2345e 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -538,7 +538,8 @@ proc copy_setup { } { set add_libs "" } - if { [istarget *-*-linux*] } { + if { [istarget *-*-linux*] + || [istarget *-*-gnu*] } { foreach i $gcc_gas_flag { set flags "additional_flags=$i $flags" } diff --git a/binutils/testsuite/binutils-all/strip-3.d b/binutils/testsuite/binutils-all/strip-3.d index d656697..acfec85 100644 --- a/binutils/testsuite/binutils-all/strip-3.d +++ b/binutils/testsuite/binutils-all/strip-3.d @@ -3,7 +3,7 @@ #strip: -R .text -R .data -R .bss -R .ARM.attributes -R .reginfo -R .pdr -R .xtensa.info #readelf: -S --wide #name: strip empty file -#target: *-*-linux* +#target: *-*-linux* *-*-gnu* #... \[[ 0]+\][ \t]+NULL[ \t]+.* diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp index db170d3..7308250 100644 --- a/binutils/testsuite/lib/utils-lib.exp +++ b/binutils/testsuite/lib/utils-lib.exp @@ -1,5 +1,5 @@ # Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004, 2006, 2007, -# 2009 Free Software Foundation, Inc. +# 2009, 2010 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -129,6 +129,7 @@ proc is_elf_format {} { && ![istarget hppa*64*-*-hpux*] && ![istarget ia64-*-hpux*] && ![istarget *-*-linux*] + && ![istarget *-*-gnu*] && ![istarget frv-*-uclinux*] && ![istarget bfin-*-uclinux] && ![istarget sh*-*-uclinux*] |