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 923f779030..6a8d72b8ce 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +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 diff --git a/ld/testsuite/ld-elf/pr19617a.d b/ld/testsuite/ld-elf/pr19617a.d index c8ebef06d0..784aacb940 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 87bdffd5fd..e1dcb71438 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 1c758d8f6c..00e2e7e2bb 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 #...