From bc33bf0a85524d92307c3cc052c6dfa0f7e83bce Mon Sep 17 00:00:00 2001 From: ro Date: Thu, 28 Jan 2010 13:22:03 +0000 Subject: [PATCH] * gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support. Add i?86-*-solaris2* support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156317 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.misc-tests/linkage.exp | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8e8362c..0d45911 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 69e3183..954dc29 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 ] { -- 2.7.4