summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-gc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-07-27 04:40:58 +0000
committerAlan Modra <amodra@gmail.com>2008-07-27 04:40:58 +0000
commit0d600a79d88b480541093f06639eff6ea1c33ed6 (patch)
treefc571584ce39d0b910d6c9ddf488f6c042041aa2 /ld/testsuite/ld-gc
parentbaea7ef144e34bb05551a7481a5b8936b45482a4 (diff)
downloadppe42-binutils-0d600a79d88b480541093f06639eff6ea1c33ed6.tar.gz
ppe42-binutils-0d600a79d88b480541093f06639eff6ea1c33ed6.zip
* ld-gc/gc.exp (test_gc): xfail powerpc64.
Diffstat (limited to 'ld/testsuite/ld-gc')
-rw-r--r--ld/testsuite/ld-gc/gc.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/testsuite/ld-gc/gc.exp b/ld/testsuite/ld-gc/gc.exp
index a15654f5bf..400e989606 100644
--- a/ld/testsuite/ld-gc/gc.exp
+++ b/ld/testsuite/ld-gc/gc.exp
@@ -46,7 +46,7 @@ proc test_gc { testname filename linker ldflags} {
set outfile "tmpdir/$filename"
if ![ld_simple_link $linker $outfile "-L$srcdir/$subdir $ldflags $objfile"] {
- fail $testname
+ fail $testname
return
}
if ![ld_nm $nm "" $outfile] {
@@ -60,6 +60,9 @@ proc test_gc { testname filename linker ldflags} {
fail $testname
return
}
+ #ppc64_elf_gc_mark_hook needs to be taught how to look through
+ #the .toc section to properly mark variable sections for gc.
+ setup_xfail "powerpc64*-*-*"
if {[info exists nm_output(unused_func)] \
|| [info exists nm_output(unused_var)]} {
send_log "unused section still here\n"
OpenPOWER on IntegriCloud