aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/pr23169a.rd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-06-18 16:42:23 +0930
committerAlan Modra <amodra@gmail.com>2018-06-18 22:00:32 +0930
commit77236b8349e95c869179b1efa4e6c2ee5c878141 (patch)
treeb697ec192ca4ac488b0343f8824d0f4c657e95fc /ld/testsuite/ld-ifunc/pr23169a.rd
parented1299fe460812ad4bbdc2192d0c0cbeba3d6b66 (diff)
downloadgdb-77236b8349e95c869179b1efa4e6c2ee5c878141.zip
gdb-77236b8349e95c869179b1efa4e6c2ee5c878141.tar.gz
gdb-77236b8349e95c869179b1efa4e6c2ee5c878141.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-ifunc/pr23169a.rd')
-rw-r--r--ld/testsuite/ld-ifunc/pr23169a.rd7
1 files changed, 2 insertions, 5 deletions
diff --git a/ld/testsuite/ld-ifunc/pr23169a.rd b/ld/testsuite/ld-ifunc/pr23169a.rd
index ca04d8f..fcb4fea 100644
--- a/ld/testsuite/ld-ifunc/pr23169a.rd
+++ b/ld/testsuite/ld-ifunc/pr23169a.rd
@@ -1,6 +1,3 @@
-
-Symbol table '\.dynsym' contains [0-9]+ entries:
- +Num: +Value +Size Type +Bind +Vis +Ndx Name
-#...
- +[0-9]+: +[a-f0-9]+ +0 +FUNC +GLOBAL +DEFAULT +[0-9]+ +func
#...
+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +I?FUNC +GLOBAL +DEFAULT.* [0-9]+ +func
+#pass