summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-06-25 10:14:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-06-25 10:14:13 -0700
commit06e78fc77dfcb8a63e44a790c9731db0eaebe87d (patch)
tree9cd82bc24246a36d83b371ea608c8445219d9fce
parent4a677ba7249d61afc58b761c997cf1a743279e02 (diff)
downloadbinutils-gdb-06e78fc77dfcb8a63e44a790c9731db0eaebe87d.tar.gz
Run ld-elf/strtab only on linux/gnu targets
Since not all ELF targets support -shared, we limit ld-elf/strtab to linux and gnu targets. * ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/strtab.d1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9beb41858c0..8a6121e0fe5 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
+ * ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
+
+2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
+
* ld-mmix/bspec1.d: Updated.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/undef-3.d: Likewise.
diff --git a/ld/testsuite/ld-elf/strtab.d b/ld/testsuite/ld-elf/strtab.d
index 07977087725..c1e90969227 100644
--- a/ld/testsuite/ld-elf/strtab.d
+++ b/ld/testsuite/ld-elf/strtab.d
@@ -1,5 +1,6 @@
#ld: -shared
#readelf: -W -x .strtab
+#target: *-*-linux* *-*-gnu*
#failif
#...