Browse Source
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.binutils-2_31-branch
5 changed files with 21 additions and 14 deletions
@ -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 |
|||
|
|||
@ -1,3 +1,4 @@ |
|||
#failif |
|||
[a-f0-9]+ +[0-9a-f]+ +R_.*_* +[a-f0-9]+ +func(| \+ 0) |
|||
... |
|||
#... |
|||
[0-9a-f]+ +[0-9a-f]+ +R_[^ ]+ +[0-9a-f]+ +func(| \+ 0) |
|||
#pass |
|||
|
|||
@ -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-9]+ +IFUNC +GLOBAL +DEFAULT +[0-9]+ +func |
|||
#... |
|||
+[0-9]+: +[0-9a-f]+ +[0-9]+ +IFUNC +GLOBAL +DEFAULT.* [0-9]+ +func |
|||
#pass |
|||
|
|||
Loading…
Reference in new issue