aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/pr20022.d
blob: 7623041c410fdc7714d7f928a4606e53891392e5 (plain)
1
2
3
4
5
6
7
8
9
10
#source: pr20022b.s
#ld: --gc-sections -e _start tmpdir/pr20022.so
#readelf: -SsW
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi

#...
  \[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.*
#...
 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +__start__foo
#pass