When objdump is not available, check_weak_available is unhappy on AIX.
 This hard-codes that AIX supports weak, as is implemented for other
OSes.

Bootstrapped on powerpc-ibm-aix7.1.0.0

Thanks, David

        * lib/target-supports.exp (check_weak_available): Return true for AIX.

Index: target-supports.exp
===================================================================
--- target-supports.exp (revision 202225)
+++ target-supports.exp (working copy)
@@ -226,6 +226,12 @@
         return 1
     }

+    # All AIX targets should support it
+
+    if { [istarget *-*-aix*] } {
+        return 1
+    }
+
     # All solaris2 targets should support it

     if { [istarget *-*-solaris2*] } {

Reply via email to