aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/unique1.d
blob: 00afd388c12f7ba32db98409546e19e349997f81 (plain)
1
2
3
4
5
6
7
8
9
10
#name: STB_GNU_UNIQUE with -Bsymbolic
#as: --64
#ld: -melf_x86_64 -shared -Bsymbolic
#readelf: -rs --wide

#...
[0-9a-f]+ +[0-9a-f]+ +R_X86_64_GLOB_DAT +[0-9a-f]+ bar \+ 0
#...
 +[0-9]+: +[0-9a-f]+ +8 +OBJECT +UNIQUE +DEFAULT +[0-9]+ bar
#pass