aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21562b.d
blob: a03dbad6a055de203beafa88de80032e1fa2eb01 (plain)
1
2
3
4
5
6
7
8
9
#ld: -shared -z defs --gc-sections
#readelf: -s -S --wide
#target: *-*-linux* *-*-gnu*

#...
  \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
#...
 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +__stop_scnfoo
#pass