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

10 lines
235 B
Makefile

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