aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr18735.d
blob: bc19a827b6c481ea2073757e3a0d7e21003d45e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ld: -r
#readelf: -s

Symbol table '.symtab' contains .* entries:
#...
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo@FOO
#...
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar@@FOO
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo
[ 	]*[0-9]+: [0-9a-fA-F]* +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar
#pass