summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-14 06:11:48 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-14 06:12:00 -0700
commit99031bafd6e81a41553803886c6b245cb0ab89d9 (patch)
tree531925623f9158dd6c56a8bd1ec58333858245f4
parent8eca1095d96c215409371c5687573aac89a0a980 (diff)
downloadbinutils-gdb-99031bafd6e81a41553803886c6b245cb0ab89d9.tar.gz
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.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-gc/pr20022.d2
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index fd073be3bea..8d5246424ba 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
+ PR ld/20022
+ * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic
+ relocations in .text section.
+
+2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
+
* 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 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]+.*