Make gcsec-1.c unsupported for AIX.

From-SVN: r49357
This commit is contained in:
Tom Rix 2002-01-31 01:44:14 +00:00 committed by Tom Rix
parent 0b51254df2
commit 8785985197
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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] {