binutils-gdb/ld/testsuite/ld-selective/keepdot0.d

12 lines
270 B
Makefile

#source: keepdot.s
#ld: --gc-sections -Bstatic -e _start -T$srcdir/$subdir/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