From: Rainer Orth Date: Thu, 28 Jan 2010 13:22:03 +0000 (+0000) Subject: linkage.exp: Remove mips-sgi-irix6*o32 support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78f56a7b7d79abc9ce5d241c8c2f0a9312186e49;p=gcc.git linkage.exp: Remove mips-sgi-irix6*o32 support. * gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support. Add i?86-*-solaris2* support. From-SVN: r156317 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8e8362c3ba6..0d459115c18 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-28 Rainer Orth + + * gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support. + Add i?86-*-solaris2* support. + 2010-01-28 Dodji Seketeli PR c++/42713 diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp index 69e318306e8..954dc29a50e 100644 --- a/gcc/testsuite/gcc.misc-tests/linkage.exp +++ b/gcc/testsuite/gcc.misc-tests/linkage.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1988, 90-96, 1997, 2000, 2001, 2002, 2007, 2008 +# Copyright (C) 1988, 90-96, 1997, 2000, 2001, 2002, 2007, 2008, 2010 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -40,15 +40,18 @@ if { [isnative] && ![is_remote host] } then { set native_cflags "-n32" } } - if [istarget "mips-sgi-iris6*o32" ] { - set native_cflags "-32" - } if [istarget "sparc*-sun-solaris2*"] { set file_string [exec file "linkage-x.o"] if [ string match "*64*" $file_string ] { set native_cflags "-xarch=v9" } } + if [istarget "i?86*-*-solaris2*"] { + set file_string [exec file "linkage-x.o"] + if [ string match "*64*" $file_string ] { + set native_cflags "-xarch=amd64" + } + } if [istarget "s390*-*-linux*"] { set file_string [exec file "linkage-x.o"] if [ string match "*32-bit*" $file_string ] {