* pr22374 function pointer initialization
@ 2018-01-12 10:51 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2018-01-12 10:51 UTC (permalink / raw)
To: binutils
When I added this test I said I'd look at fixing more targets.
That hasn't happened yet, so xfail to tidy results.
* testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
initialization" for currently failing targets.
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index d277987..0b005de 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -234,6 +234,21 @@ if { [check_shared_lib_support] } then {
run_ld_link_tests {
{"Build pr22374 shared library"
"-shared" "" "" "pr22374b.s" {} "pr22374.so" }
+ }
+ if { ![istarget "alpha-*-*"]
+ && ![istarget "frv-*-*"]
+ && ![istarget "hppa*-*-*"]
+ && ![istarget "i?86-*-*"]
+ && ![istarget "ia64-*-*"]
+ && ![istarget "microblaze-*-*"]
+ && ![istarget "powerpc*-*-*"]
+ && ![istarget "x86_64-*-*"]
+ && ![istarget "xtensa-*-*"] } {
+ # The next test checks that copy relocs are not used unnecessarily,
+ # but that is just an optimization so don't complain loudly.
+ setup_xfail "*-*-*"
+ }
+ run_ld_link_tests {
{"pr22374 function pointer initialization"
"" "tmpdir/pr22374.so" "" "pr22374a.s"
{ {readelf {--wide -r --dyn-syms} "pr22374-1.r"}
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-12 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-12 10:51 pr22374 function pointer initialization Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).