Commit 87859851 by Tom Rix Committed by Tom Rix

Make gcsec-1.c unsupported for AIX.

From-SVN: r49357
parent 0b51254d
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> 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/noncompile/20020130-1.c: New test. * gcc.dg/noncompile/20020130-1.c: New test.
......
...@@ -145,7 +145,11 @@ if { [ check_weak_available ] == 1 } { ...@@ -145,7 +145,11 @@ if { [ check_weak_available ] == 1 } {
set ld_output [ remote_exec host "[ find_ld ]" "--help" ] 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 dg-init
if [isnative] { if [isnative] {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment