OSDN Git Service

* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jan 2010 13:22:03 +0000 (13:22 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jan 2010 13:22:03 +0000 (13:22 +0000)
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
gcc/testsuite/gcc.misc-tests/linkage.exp

index 8e8362c..0d45911 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
+       Add i?86-*-solaris2* support.
+
 2010-01-28  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/42713
index 69e3183..954dc29 100644 (file)
@@ -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 ] {