Line 21... |
Line 21... |
#
|
#
|
# Written by Catherine Moore (clm@cygnus.com)
|
# Written by Catherine Moore (clm@cygnus.com)
|
# Make sure that constructors are handled correctly.
|
# Make sure that constructors are handled correctly.
|
|
|
# Only ELF based ports support selective linking
|
# Only ELF based ports support selective linking
|
if ![is_elf_format] {
|
if { ![is_elf_format] || ![check_gc_sections_available] } {
|
return
|
|
}
|
|
|
|
# These targets do not support selective linking
|
|
if {[istarget "am33*-*-*"] ||
|
|
[istarget "arc-*-*"] || [istarget "d30v-*-*"] ||
|
|
[istarget "dlx-*-*"] || [istarget "hppa*64*-*-*"] ||
|
|
[istarget "i370-*-*"] || [istarget "i860-*-*"] ||
|
|
[istarget "i960-*-*"] || [istarget "ia64-*-*"] ||
|
|
[istarget "m88*-*-*"] || [istarget "mn10200-*-*"] ||
|
|
[istarget "mep-*-*"] || [istarget "or32-*-*"] ||
|
|
[istarget "pj*-*-*"]} {
|
|
return
|
return
|
}
|
}
|
|
|
# List contains test-items with three items followed by four lists:
|
# List contains test-items with three items followed by four lists:
|
# 1:name 2:test-type (CC or C++; add as needed) 3:filename 4:ld-flags
|
# 1:name 2:test-type (CC or C++; add as needed) 3:filename 4:ld-flags
|
Line 99... |
Line 87... |
set xfails [lindex $testitem 6]
|
set xfails [lindex $testitem 6]
|
|
|
foreach xfail_target $xfails {
|
foreach xfail_target $xfails {
|
setup_xfail $xfail_target
|
setup_xfail $xfail_target
|
}
|
}
|
setup_xfail "arc*-*" "d30v*-*" "dlx*-*" "i370*-*" "i860*-*"
|
|
setup_xfail "i960*-*" "mn10200-*" "or32-*" "pj-*"
|
|
|
|
# It's either C or C++ at the moment.
|
# It's either C or C++ at the moment.
|
if { $testtype == "C++" } {
|
if { $testtype == "C++" } {
|
set compiler "$CXX"
|
set compiler "$CXX"
|
# Starting with 3.4.0, -fvtable-gc is no longer supported and thus
|
# Starting with 3.4.0, -fvtable-gc is no longer supported and thus
|