* lib/target-supports.exp (check_weak_available): Return true for AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 3 Sep 2013 16:25:15 +0000 (16:25 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 3 Sep 2013 16:25:15 +0000 (12:25 -0400)
From-SVN: r202227

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 0477f3650c746b062c046d41badbeb2f06d954cf..935b3c351af194b45af2ca2c4fd9db0090016e25 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-03  David Edelsohn  <dje.gcc@gmail.com>
+
+       * lib/target-supports.exp (check_weak_available): Return true for AIX.
+
 2013-09-03  Jan Hubicka  <jh@suse.cz>
 
        * g++.dg/ipa/devirt-15.C: Fix testcase.
index bcf060f7face5c58ca3d443c031bc0154b0c03cd..0905821587badd14f8e4b9bcb61bafd23cf898df 100644 (file)
@@ -226,6 +226,12 @@ proc check_weak_available { } {
         return 1
     }
 
+    # All AIX targets should support it
+
+    if { [istarget *-*-aix*] } {
+        return 1
+    }
+
     # All solaris2 targets should support it
 
     if { [istarget *-*-solaris2*] } {