aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/keepdot0.d
blob: 4432a011e1146d1cd4edc71f23c0d1f2f2a5f350 (plain)
1
2
3
4
5
6
7
8
9
10
11
#source: keepdot.s
#ld: --gc-sections -Bstatic -e _start -T keepdot0.ld
#name: Preserve explicit . = 0
#objdump: -h

# Check that GC:ing does not mess up the value for dot when specified
# as 0.

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