aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/keepdot.d
blob: aadd5d449d7d843f3997d8f1018cb4a436e7a81f (plain)
1
2
3
4
5
6
7
8
9
#ld: --gc-sections -Bstatic -e _start -T keepdot.ld
#name: Preserve default . = 0
#objdump: -h

# Check that GC:ing does not mess up the default value for dot.

#...
[ 	]+.[ 	]+\.myinit[ 	]+0+[48][ 	]+0+[ 	]+0+ .*
#pass