binutils-gdb/ld/testsuite/ld-selective/keepdot.d
H.J. Lu f9a3a01aef 2002-10-12 H.J. Lu (hjl@gnu.org)
* ld-discard/extern.d: Remove $srcdir/$subdir/.
	* ld-discard/start.d: Likewise.
	* ld-discard/static.d: Likewise.
	* ld-linkonce/zeroehl32.d: Likewise.
	* ld-selective/keepdot.d: Likewise.
	* ld-selective/keepdot0.d: Likewise.
2002-10-12 15:40:13 +00:00

10 lines
220 B
Makefile

#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