aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/comm-data5.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-12-06 00:10:41 +0000
committerAlan Modra <amodra@gmail.com>2012-12-06 00:10:41 +0000
commit5c3ab52b3b9b0c3ff205d5eb0cd3530b315f517c (patch)
tree4e95906aa5ae028d345be3f548c8f1b7c663cc58 /ld/testsuite/ld-elf/comm-data5.s
parent625ef6dc5557679f800face6510b959b23892752 (diff)
downloadgdb-5c3ab52b3b9b0c3ff205d5eb0cd3530b315f517c.zip
gdb-5c3ab52b3b9b0c3ff205d5eb0cd3530b315f517c.tar.gz
gdb-5c3ab52b3b9b0c3ff205d5eb0cd3530b315f517c.tar.bz2
* ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test.
* ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test. * ld-elf/comm-data.exp: Run them.
Diffstat (limited to 'ld/testsuite/ld-elf/comm-data5.s')
-rw-r--r--ld/testsuite/ld-elf/comm-data5.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/comm-data5.s b/ld/testsuite/ld-elf/comm-data5.s
new file mode 100644
index 0000000..1605b8a
--- /dev/null
+++ b/ld/testsuite/ld-elf/comm-data5.s
@@ -0,0 +1,15 @@
+ .comm i,4,4
+
+ .section .rodata,"a",%progbits
+ .dc.a i
+
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
+ .text
+main:
+start:
+_start:
+__start:
+ .dc.a 0