linkage.exp: Remove mips-sgi-irix6*o32 support.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 28 Jan 2010 13:22:03 +0000 (13:22 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 28 Jan 2010 13:22:03 +0000 (13:22 +0000)
* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
Add i?86-*-solaris2* support.

From-SVN: r156317

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/linkage.exp

index 8e8362c3ba6585e90f7f502212e971be029dfd43..0d459115c18cf3a74a1a266c22e6864ec8cb3d11 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 69e318306e8c827674187d400bad058588bfd8e8..954dc29a50e4d413590ab6ff5e5c40f6330f3b7a 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 ] {