binutils-gdb/ld/testsuite/ld-selective/keepdot0.d
Hans-Peter Nilsson b611beb043 * ld-selective/keepdot.d, ld-selective/keepdot.ld,
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
	* ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
2002-02-05 06:45:16 +00:00

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