f9a3a01aef
* 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.
10 lines
220 B
Makefile
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
|