From 99031bafd6e81a41553803886c6b245cb0ab89d9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 14 Jun 2017 06:11:48 -0700 Subject: xfail pr20022.d on targets without dynamic relocs in .text ld-gc/pr20022.d requires support for dynamic relocations in .text section. PR ld/20022 * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic relocations in .text section. --- ld/ChangeLog | 6 ++++++ ld/testsuite/ld-gc/pr20022.d | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index fd073be..8d52464 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2017-06-14 H.J. Lu + PR ld/20022 + * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic + relocations in .text section. + +2017-06-14 H.J. Lu + * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char in in symbol name or without --gc-sections. * testsuite/ld-elf/pr21562b.d: Likewise. diff --git a/ld/testsuite/ld-gc/pr20022.d b/ld/testsuite/ld-gc/pr20022.d index b51ec19..906f73d 100644 --- a/ld/testsuite/ld-gc/pr20022.d +++ b/ld/testsuite/ld-gc/pr20022.d @@ -3,6 +3,8 @@ #readelf: -SsW #target: *-*-linux* *-*-gnu* #notarget: *-*-*aout *-*-*oldld frv-*-linux* metag-*-linux* +#notarget: mips*-*-* +# Skip on targets without dynamic relocations in .text section. #... \[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.* -- cgit v1.1