diff options
author | Alan Modra <amodra@gmail.com> | 2013-10-31 19:33:23 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-11-04 10:18:47 +1030 |
commit | 4115bfc68301edaca4dd1fd83eddeaafeda4c63c (patch) | |
tree | e77fc0ac6c0ee847e21496927cbb837f1d4d2158 /ld/testsuite/ld-elfvers | |
parent | 14f2c476752f3cc4bfa7baee2a5a5183aafad975 (diff) | |
download | gdb-4115bfc68301edaca4dd1fd83eddeaafeda4c63c.zip gdb-4115bfc68301edaca4dd1fd83eddeaafeda4c63c.tar.gz gdb-4115bfc68301edaca4dd1fd83eddeaafeda4c63c.tar.bz2 |
Allow for extra st_other readelf output in ld testsuite
On PowerPC64 ELFv2 readelf emits [<localentry>: 8] describing extra
symbol st_other bits.
* ld-elfvers/vers24.rd: Allow extra readelf output after
symbol visibility.
* ld-ifunc/ifunc.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers24.rd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elfvers/vers24.rd b/ld/testsuite/ld-elfvers/vers24.rd index 42e81e4..fb464f9 100644 --- a/ld/testsuite/ld-elfvers/vers24.rd +++ b/ld/testsuite/ld-elfvers/vers24.rd @@ -7,9 +7,9 @@ Symbol table '.dynsym' contains [0-9]+ entries: # And ensure the dynamic symbol table contains at least x@VERS.0 # and foo@@VERS.0 symbols #... - +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ _?foo@)@VERS\.0 + +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0 #... - +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ _?foo@)@VERS\.0 + +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0 #... Symbol table '.symtab' contains [0-9]+ entries: #pass |