This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
xfail ld --gc-sections tests for powerpc64
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Sun, 27 Jul 2008 14:10:34 +0930
- Subject: xfail ld --gc-sections tests for powerpc64
I haven't done as the comment below says, so..
* ld-gc/gc.exp (test_gc): xfail powerpc64.
Index: ld/testsuite/ld-gc/gc.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-gc/gc.exp,v
retrieving revision 1.3
diff -u -p -r1.3 gc.exp
--- ld/testsuite/ld-gc/gc.exp 22 Jan 2008 19:36:58 -0000 1.3
+++ ld/testsuite/ld-gc/gc.exp 27 Jul 2008 04:38:59 -0000
@@ -46,7 +46,7 @@ proc test_gc { testname filename linker
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
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"
--
Alan Modra
Australia Development Lab, IBM