aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/merge.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/merge.s')
-rw-r--r--ld/testsuite/ld-elf/merge.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/merge.s b/ld/testsuite/ld-elf/merge.s
new file mode 100644
index 0000000..1e6e0e3
--- /dev/null
+++ b/ld/testsuite/ld-elf/merge.s
@@ -0,0 +1,14 @@
+ .section .rodata.str,"aMS","progbits",1
+.LC0:
+ .asciz "abc"
+.LC1:
+ .asciz "c"
+
+ .text
+ .global _start
+_start:
+ .long .LC0
+.LT0:
+ .long .LC1
+ .long .LC0-.LT0
+ .long .LC1-.LT0