[binutils-gdb] Enable PR ld/19617 tests only for Linux/GNU/Solaris

H.J.Lu hjl@sourceware.org
Thu Feb 18 15:50:00 GMT 2016


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

commit c304e18e5ca825f57963bd0c5f022fa8f5797b29
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 18 07:48:57 2016 -0800

    Enable PR ld/19617 tests only for Linux/GNU/Solaris
    
    Since PR ld/19617 tests require share library support, enable them
    only for Linux/GNU/Solaris targets.
    
    	* testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
    	*-*-gnu* and *-*-solaris*.
    	* testsuite/ld-elf/pr19617b.d: Likewise.
    	* testsuite/ld-elf/pr19617c.d: Likewise.

Diff:
---
 ld/ChangeLog                   | 7 +++++++
 ld/testsuite/ld-elf/pr19617a.d | 1 +
 ld/testsuite/ld-elf/pr19617b.d | 1 +
 ld/testsuite/ld-elf/pr19617c.d | 1 +
 4 files changed, 10 insertions(+)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 923f779..6a8d72b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,12 @@
 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
+	*-*-gnu* and *-*-solaris*.
+	* testsuite/ld-elf/pr19617b.d: Likewise.
+	* testsuite/ld-elf/pr19617c.d: Likewise.
+
+2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
+
 	PR ld/19617
 	* testsuite/ld-elf/pr19617.s: New file.
 	* testsuite/ld-elf/pr19617a.d: Likewise.
diff --git a/ld/testsuite/ld-elf/pr19617a.d b/ld/testsuite/ld-elf/pr19617a.d
index c8ebef0..784aacb 100644
--- a/ld/testsuite/ld-elf/pr19617a.d
+++ b/ld/testsuite/ld-elf/pr19617a.d
@@ -1,6 +1,7 @@
 #source: pr19617.s
 #ld: -E
 #readelf : --dyn-syms --wide
+#target: *-*-linux* *-*-gnu* *-*-solaris*
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
diff --git a/ld/testsuite/ld-elf/pr19617b.d b/ld/testsuite/ld-elf/pr19617b.d
index 87bdffd..e1dcb71 100644
--- a/ld/testsuite/ld-elf/pr19617b.d
+++ b/ld/testsuite/ld-elf/pr19617b.d
@@ -1,6 +1,7 @@
 #source: pr19617.s
 #ld: --dynamic-list-data
 #readelf : --dyn-syms --wide
+#target: *-*-linux* *-*-gnu* *-*-solaris*
 
 Symbol table '\.dynsym' contains [0-9]+ entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
diff --git a/ld/testsuite/ld-elf/pr19617c.d b/ld/testsuite/ld-elf/pr19617c.d
index 1c758d8..00e2e7e 100644
--- a/ld/testsuite/ld-elf/pr19617c.d
+++ b/ld/testsuite/ld-elf/pr19617c.d
@@ -1,6 +1,7 @@
 #source: pr19617.s
 #ld: --dynamic-list-data
 #readelf : --dyn-syms --wide
+#target: *-*-linux* *-*-gnu* *-*-solaris*
 
 #failif
 #...



More information about the Binutils-cvs mailing list