From 06e78fc77dfcb8a63e44a790c9731db0eaebe87d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 25 Jun 2015 10:14:13 -0700 Subject: 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. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-elf/strtab.d | 1 + 2 files changed, 5 insertions(+) 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 + * ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets. + +2015-06-25 H.J. Lu + * 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 #... -- cgit v1.1