diff options
Diffstat (limited to 'ld/testsuite/ld-selective/keepdot.d')
-rw-r--r-- | ld/testsuite/ld-selective/keepdot.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-selective/keepdot.d b/ld/testsuite/ld-selective/keepdot.d new file mode 100644 index 0000000..47b6ae2 --- /dev/null +++ b/ld/testsuite/ld-selective/keepdot.d @@ -0,0 +1,9 @@ +#ld: --gc-sections -Bstatic -e _start -T$srcdir/$subdir/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 |