aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/sizeofa.d
blob: 340456de8a328868384e174c62b9877b6c5b55c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#source: sizeof.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 +(LOC|GLOB)AL +DEFAULT +[0-9]+ +__stop_scnfoo
#...
 +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND +.sizeof.scnfoo
#pass