URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/open8_urisc/trunk/gnu/binutils/ld/testsuite/ld-selective
- from Rev 100 to Rev 163
- ↔ Reverse comparison
Rev 100 → Rev 163
/sel-dump.exp
20,7 → 20,7
|
# Test for ELF here, so we don't have to qualify on ELF specifically |
# in every .d-file. |
if ![is_elf_format] { |
if { ![is_elf_format] || ![check_gc_sections_available] } { |
return |
} |
|
28,8 → 28,5
for { set i 0 } { $i < [llength $test_list] } { incr i } { |
# We need to strip the ".d", but can leave the dirname. |
verbose [file rootname [lindex $test_list $i]] |
setup_xfail "am33*-*" "arc*-*" "d30v*-*" "dlx*-*" |
setup_xfail "hppa*64-*-*" "i370*-*" "i860*-*" "i960*-*" "ia64*-*" |
setup_xfail "m88*-*" "mn10200-*" "mep-*" "or32-*" "pj-*" |
run_dump_test [file rootname [lindex $test_list $i]] |
} |
/selective.exp
23,22 → 23,10
# Make sure that constructors are handled correctly. |
|
# 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 |
} |
|
# 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 |
# 5:must-have-symbols 6:must-not-have-symbols 7:xfail-targets. |
101,8 → 89,6
foreach xfail_target $xfails { |
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. |
if { $testtype == "C++" } { |