From 99031bafd6e81a41553803886c6b245cb0ab89d9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 14 Jun 2017 06:11:48 -0700 Subject: [PATCH] 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 fd073be3bea..8d5246424ba 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +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 diff --git a/ld/testsuite/ld-gc/pr20022.d b/ld/testsuite/ld-gc/pr20022.d index b51ec1903fe..906f73d4e00 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]+.* -- 2.30.2