From c304e18e5ca825f57963bd0c5f022fa8f5797b29 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 18 Feb 2016 07:48:57 -0800 Subject: [PATCH] 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. --- ld/ChangeLog | 7 +++++++ ld/testsuite/ld-elf/pr19617a.d | 1 + ld/testsuite/ld-elf/pr19617b.d | 1 + ld/testsuite/ld-elf/pr19617c.d | 1 + 4 files changed, 10 insertions(+) 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 + * 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 + 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 #... -- 2.7.4