aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/startofc.d
blob: 0250892cef8b07fd5c64755f11cf8d91a31ce40a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#source: startof.s
#ld: -r
#readelf: -sW

Symbol table '\.symtab' contains [0-9]+ entries:
 +Num: +Value +Size Type +Bind +Vis +Ndx Name
 +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +
#...
 +[0-9]+: +[a-f0-9]+ +0 +(NOTYPE|OBJECT) +GLOBAL +DEFAULT +UND +.startof.scnfoo
#...
 +[0-9]+: +[a-f0-9]+ +0 +(NOTYPE|OBJECT) +GLOBAL +DEFAULT +UND +___?start_scnfoo
#pass