mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
b611beb043
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests. * ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
12 lines
270 B
Makefile
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
|