]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/ppc/aix.exp
Revert "2.41 Release sources"
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / ppc / aix.exp
index 55aedc48654a8cf1ac1f835db8ff951aabae0812..76ffb224c086fd1eee2815f1b1771c1185e046cb 100644 (file)
@@ -88,8 +88,15 @@ if { [istarget "powerpc*-*-aix*"] || [istarget "rs6000-*-aix*"] } then {
     run_dump_test "xcoff-file-32"
     run_dump_test "xcoff-file-64"
 
-    run_dump_test "xcoff-visibility-1-32"
-    run_dump_test "xcoff-visibility-1-64"
+    if { [istarget {*-*-aix[6-9]*}]
+        || [istarget {*-*-aix5.[2-9]*}] } {
+       # The expected output of these tests depends on AIX_WEAK_SUPPORT.
+       # Without that weak syms do not have an aux entry and thus
+       # BFD_NOT_AT_END is not set.  I don't know if any of this is
+       # correct..
+       run_dump_test "xcoff-visibility-1-32"
+       run_dump_test "xcoff-visibility-1-64"
+    }
     run_dump_test "xcoff-visibility-2-32"
     run_dump_test "xcoff-visibility-2-64"
 }