aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-01-31 01:44:14 +0000
committerTom Rix <trix@gcc.gnu.org>2002-01-31 01:44:14 +0000
commit8785985197496735946fb77807746420bc262da9 (patch)
treec7c4a40b82409f7a58d859dfe35802c33bae15a1
parent0b51254df2f85be06aa30d499b6d1d4f01d10873 (diff)
downloadgcc-8785985197496735946fb77807746420bc262da9.zip
gcc-8785985197496735946fb77807746420bc262da9.tar.gz
gcc-8785985197496735946fb77807746420bc262da9.tar.bz2
Make gcsec-1.c unsupported for AIX.
From-SVN: r49357
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/special/ecos.exp6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 27934b6..6a00f48 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+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.
diff --git a/gcc/testsuite/gcc.dg/special/ecos.exp b/gcc/testsuite/gcc.dg/special/ecos.exp
index cc632fc..56995cd 100644
--- a/gcc/testsuite/gcc.dg/special/ecos.exp
+++ b/gcc/testsuite/gcc.dg/special/ecos.exp
@@ -145,7 +145,11 @@ if { [ check_weak_available ] == 1 } {
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] {