Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.misc-tests / linkage.exp
index 887f31b..e89236c 100644 (file)
@@ -1,5 +1,4 @@
-# Copyright (C) 1988, 90-96, 1997, 2000, 2001, 2002, 2007, 2008, 2010
-# Free Software Foundation, Inc.
+# Copyright (C) 1988-2013 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
@@ -28,18 +27,6 @@ if { [isnative] && ![is_remote host] } then {
 
        # Need to ensure ABI for native compiler matches gcc
        set native_cflags ""
-       if  [istarget "mips-sgi-irix6*"] {
-           set file_string [exec file "linkage-x.o"]
-           if [ string match "*64*" $file_string ] {
-               set native_cflags "-64"
-           }
-           if [ string match "*ELF 32*" $file_string ] {
-               set native_cflags "-32"
-           }
-           if [ string match "*N32*" $file_string ] {
-               set native_cflags "-n32"
-           }
-       }
        if  [istarget "sparc*-sun-solaris2*"] {
            set file_string [exec file "linkage-x.o"]
            if [ string match "*64*" $file_string ] {