aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/startofa.d
blob: 19ac29d2ee145e5b6068df0fce5c5a6b6e16d6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#source: startof.s
#ld: -Ur
#readelf: -sW
#xfail: bfin-*-* cr16-*-* cr16c-*-* cris*-*-elf crx-*-* epiphany-*-*
#xfail: h8300-*-* ip2k-*-* mn10200-*-* mn10300-*-* m32c-*-* metag-*-*
#xfail: rl78-*-* rx-*-* sh*-*-elf* sh*-*-kaos* sh*-*-nto* sh-*-rtems*
#xfail: sh*-*-symbianelf* sh*-*-vxworks v850*-*-*
# Targets with a leading char will fail this test.

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 +(LOCAL +DEFAULT +[0-9]+ +__start_scnfoo|GLOBAL +DEFAULT +UND +.startof.scnfoo)
#...
 +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +(UND +.startof.scnfoo|[0-9]+ +__start_scnfoo)
#pass