mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 08:58:56 +08:00
Make gcsec-1.c unsupported for AIX.
From-SVN: r49357
This commit is contained in:
parent
0b51254df2
commit
8785985197
@ -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.
|
||||
|
@ -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] {
|
||||
|
Loading…
Reference in New Issue
Block a user