This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] xfail pr20022.d on targets without dynamic relocs in .text


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=99031bafd6e81a41553803886c6b245cb0ab89d9

commit 99031bafd6e81a41553803886c6b245cb0ab89d9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jun 14 06:11:48 2017 -0700

    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.

Diff:
---
 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  <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 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]+.*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]