diff options
author | trix <trix@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-31 01:44:14 +0000 |
---|---|---|
committer | trix <trix@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-31 01:44:14 +0000 |
commit | 3276ae54f60fcb56ffa585b761fa5c897a2c6ac5 (patch) | |
tree | c7c4a40b82409f7a58d859dfe35802c33bae15a1 /gcc/testsuite/gcc.dg/special | |
parent | fe701bb3478c100dabd0297ea141a016cb8d6bf7 (diff) | |
download | gcc-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/testsuite/gcc.dg/special')
-rw-r--r-- | gcc/testsuite/gcc.dg/special/ecos.exp | 6 |
1 files changed, 5 insertions, 1 deletions
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] { |