| 1 | Relocation section .* |
| 2 | # Ensure there is a dynamic relocation against x |
| 3 | #... |
| 4 | [0-9a-f]+ +[0-9a-f]+ R_.* +_?x@VERS.0(| \+ 0) |
| 5 | #... |
| 6 | Symbol table '.dynsym' contains [0-9]+ entries: |
| 7 | # And ensure the dynamic symbol table contains at least x@VERS.0 |
| 8 | # and foo@@VERS.0 symbols |
| 9 | #... |
| 10 | +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0 |
| 11 | #... |
| 12 | +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0 |
| 13 | #... |
| 14 | Symbol table '.symtab' contains [0-9]+ entries: |
| 15 | #pass |