Build ifunc tests when non-native
authorAlan Modra <amodra@gmail.com>
Mon, 18 Jun 2018 07:12:23 +0000 (16:42 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 18 Jun 2018 12:30:32 +0000 (22:00 +0930)
commit77236b8349e95c869179b1efa4e6c2ee5c878141
treeb697ec192ca4ac488b0343f8824d0f4c657e95fc
parented1299fe460812ad4bbdc2192d0c0cbeba3d6b66
Build ifunc tests when non-native

Plus a number of fixes to the pr23169 tests.

* testsuite/lib/ld-lib.exp (check_ifunc_available): Pass without
running executable when non-native.
(check_ifunc_attribute_available): Likewise.
* testsuite/ld-ifunc/pr23169a.rd: Remove extraneous lines.  Match
st_other strings.  Pass when func is an ifunc.
* testsuite/ld-ifunc/pr23169b.rd: Remove extraneous lines.  Correct
reloc regexp.  Correct match-anything line.
* testsuite/ld-ifunc/pr23169c.rd: Remove extraneous lines.  Match
st_other strings.
ld/ChangeLog
ld/testsuite/ld-ifunc/pr23169a.rd
ld/testsuite/ld-ifunc/pr23169b.rd
ld/testsuite/ld-ifunc/pr23169c.rd
ld/testsuite/lib/ld-lib.exp