aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-02-18 07:48:57 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-02-18 07:48:57 -0800
commitc304e18e5ca825f57963bd0c5f022fa8f5797b29 (patch)
treeaddd5959a98ad08acc381d740724c0c924f1f7fc /ld
parent2d5189bd3a6e2014b9b42a4bcb0df410eff1c2e1 (diff)
downloadgdb-c304e18e5ca825f57963bd0c5f022fa8f5797b29.zip
gdb-c304e18e5ca825f57963bd0c5f022fa8f5797b29.tar.gz
gdb-c304e18e5ca825f57963bd0c5f022fa8f5797b29.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/testsuite/ld-elf/pr19617a.d1
-rw-r--r--ld/testsuite/ld-elf/pr19617b.d1
-rw-r--r--ld/testsuite/ld-elf/pr19617c.d1
4 files changed, 10 insertions, 0 deletions
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
#...