aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/comm-data2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/comm-data2.s')
-rw-r--r--ld/testsuite/ld-elf/comm-data2.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/comm-data2.s b/ld/testsuite/ld-elf/comm-data2.s
new file mode 100644
index 0000000..87f981e
--- /dev/null
+++ b/ld/testsuite/ld-elf/comm-data2.s
@@ -0,0 +1,14 @@
+ .text
+ .globl _start
+ .globl __start
+_start:
+__start:
+ .comm foo, 4, 4
+ .section .debug_foo,"",%progbits
+ .balign 16
+ .ifdef ELF64
+ .8byte foo
+ .else
+ .4byte foo
+ .endif
+ .balign 16