* ld-gc/gc.exp (test_gc): xfail powerpc64.
authorAlan Modra <amodra@gmail.com>
Sun, 27 Jul 2008 04:40:58 +0000 (04:40 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 27 Jul 2008 04:40:58 +0000 (04:40 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-gc/gc.exp

index c9b18bc3dda56cdffc84962f2392626594f21363..d7c67245fbf8c553ffb2b35d2b39a2367f3d3130 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld-gc/gc.exp (test_gc): xfail powerpc64.
+
 2008-07-26  Michael Eager <eager@eagercon.com>
 
        * ld-powerpc/powerpc.exp: Run new tests.
index a15654f5bf388bcd7cb0cbc988357c11dc891042..400e989606cecd9d8084540dc952820cc8a825aa 100644 (file)
@@ -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"