summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authortrix <trix@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-31 01:44:14 +0000
committertrix <trix@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-31 01:44:14 +0000
commit3276ae54f60fcb56ffa585b761fa5c897a2c6ac5 (patch)
treec7c4a40b82409f7a58d859dfe35802c33bae15a1 /gcc
parentfe701bb3478c100dabd0297ea141a016cb8d6bf7 (diff)
downloadgcc-3276ae54f60fcb56ffa585b761fa5c897a2c6ac5.tar.gz
Make gcsec-1.c unsupported for AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 27934b67f9b..6a00f4831ef 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 cc632fc334c..56995cd2a13 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] {