aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
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/ld-elf
parent4a677ba7249d61afc58b761c997cf1a743279e02 (diff)
downloadgdb-06e78fc77dfcb8a63e44a790c9731db0eaebe87d.zip
gdb-06e78fc77dfcb8a63e44a790c9731db0eaebe87d.tar.gz
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/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/strtab.d1
1 files changed, 1 insertions, 0 deletions
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
#...