summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/merge.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-21 13:30:31 +0000
committerAlan Modra <amodra@gmail.com>2002-11-21 13:30:31 +0000
commit782c0ebfc98dfc58a816440d29094a586a78ed7d (patch)
tree78896d84013a5f564a577bd5ee05c613023bea9e /ld/testsuite/ld-elf/merge.s
parentdc12c51f36d7fc8ccdc98a9b266b5ef58668da39 (diff)
downloadbinutils-gdb-782c0ebfc98dfc58a816440d29094a586a78ed7d.tar.gz
* ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.
* ld-elf/merge.s: New file. * ld-elf/merge.d: New file. * ld-elf/merge.ld: New file.
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 00000000000..1e6e0e3494f
--- /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