+2002-01-31 Tom Rix <trix@redhat.com>
+
+ * gcc.dg/special/ecos.exp: Make gcsec-1.c unsupported for AIX.
+
2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/noncompile/20020130-1.c: New test.
set ld_output [ remote_exec host "[ find_ld ]" "--help" ]
-if { [ string first "--gc-sections" $ld_output ] >= 0 } {
+# AIX gld supports garbage collection. But AIX gcc does not support
+# -ffunction-sections or -fdata-sections.
+if { [ string first "--gc-sections" $ld_output ] >= 0
+ && ! [istarget rs6000-*-aix*]
+ && ! [istarget powerpc*-*-aix*] } {
dg-init
if [isnative] {