binutils-gdb/ld/testsuite/ld-selective/keepdot0.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

12 lines
255 B
Makefile

#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