aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/keepdot.s
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/keepdot.s
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/keepdot.s')
-rw-r--r--ld/testsuite/ld-selective/keepdot.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-selective/keepdot.s b/ld/testsuite/ld-selective/keepdot.s
new file mode 100644
index 0000000..6d8d979
--- /dev/null
+++ b/ld/testsuite/ld-selective/keepdot.s
@@ -0,0 +1,17 @@
+ .text
+ .stabs "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0
+ .stabs "char:t(0,2)=r(0,2);0;127;",128,0,0,0
+
+ .section .myinit,"ax",@progbits
+ .stabs "barxfoo:F(0,20)",36,0,2,_bar
+ .global _bar
+ .global _start
+_start:
+_bar:
+ .long 123
+
+ .section .mytext.baz,"ax",@progbits
+ .stabs "baz:F(0,20)",36,0,6,_baz
+ .global _baz
+_baz:
+ .long 456