aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21562c.d
blob: 9de035faac64cc51b4d4ee97344f71b34f7d0283 (plain)
1
2
3
4
5
6
7
8
9
10
#source: pr21562a.s
#ld: -shared -z defs --gc-sections -T pr21562a.t
#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]+ +__start_scnfoo
#pass