aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
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 /ld/testsuite
parent4a677ba7249d61afc58b761c997cf1a743279e02 (diff)
downloadfsf-binutils-gdb-06e78fc77dfcb8a63e44a790c9731db0eaebe87d.zip
fsf-binutils-gdb-06e78fc77dfcb8a63e44a790c9731db0eaebe87d.tar.gz
fsf-binutils-gdb-06e78fc77dfcb8a63e44a790c9731db0eaebe87d.tar.bz2
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.
Diffstat (limited to 'ld/testsuite')
-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 9beb418..8a6121e 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 0797708..c1e9096 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
#...