aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/keepdot0.ld
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-02-05 06:45:16 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-02-05 06:45:16 +0000
commitb611beb0432479914aa8cc14201f0bc98f4c97ac (patch)
tree0c59e350a8d270553bd6f6db678544f228614bee /ld/testsuite/ld-selective/keepdot0.ld
parentf5e547d6844ae74b7cc1a835b00dff1c023e1473 (diff)
downloadgdb-b611beb0432479914aa8cc14201f0bc98f4c97ac.zip
gdb-b611beb0432479914aa8cc14201f0bc98f4c97ac.tar.gz
gdb-b611beb0432479914aa8cc14201f0bc98f4c97ac.tar.bz2
* 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.
Diffstat (limited to 'ld/testsuite/ld-selective/keepdot0.ld')
-rw-r--r--ld/testsuite/ld-selective/keepdot0.ld6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-selective/keepdot0.ld b/ld/testsuite/ld-selective/keepdot0.ld
new file mode 100644
index 0000000..9f053d3
--- /dev/null
+++ b/ld/testsuite/ld-selective/keepdot0.ld
@@ -0,0 +1,6 @@
+SECTIONS
+{
+ . = 0x0;
+ .myinit : { KEEP (*(.myinit)) }
+ .mytext : { *(.mytext*) *(.text*) }
+}