summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/merge2.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-09-10 23:35:40 +0000
committerAlan Modra <amodra@gmail.com>2003-09-10 23:35:40 +0000
commita52f1af1ab24ad3e50fcf3f9e23ad170c6ef9aab (patch)
tree541f2640358c6106f8ee79b1bf7466cd0b84156a /ld/testsuite/ld-elf/merge2.s
parente831786b8909cf09159091f9b66eb9243e0938ab (diff)
downloadbinutils-gdb-a52f1af1ab24ad3e50fcf3f9e23ad170c6ef9aab.tar.gz
* ld-elf/merge2.s: New.
* ld-elf/merge2.d: New.
Diffstat (limited to 'ld/testsuite/ld-elf/merge2.s')
-rw-r--r--ld/testsuite/ld-elf/merge2.s58
1 files changed, 58 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/merge2.s b/ld/testsuite/ld-elf/merge2.s
new file mode 100644
index 00000000000..41d066ab9c7
--- /dev/null
+++ b/ld/testsuite/ld-elf/merge2.s
@@ -0,0 +1,58 @@
+ .section .rodata.str,"aMS","progbits",1
+.LC0:
+ .asciz "abc"
+.LC1:
+ .asciz "c"
+.LC2:
+ .asciz "bc"
+.LC3:
+ .asciz "b"
+
+
+ .section .rodata.str2,"aMS","progbits",4
+ .p2align 2
+.LC4:
+ .long 0x12345678
+ .long 0
+.LC5:
+ .long 0x12345678
+ .long 0x99999999
+ .long 0x12345678
+ .long 0
+.LC6:
+ .long 0x99999999
+ .long 0
+.LC7:
+ .long 0x99999999
+ .long 0x12345678
+ .long 0
+
+
+ .section .rodata.m,"aM","progbits",4
+ .p2align 2
+.LC8:
+ .long 0x12345678
+.LC9:
+ .long 0x99999999
+.LC10:
+ .long 0
+.LC11:
+ .long 0x12345678
+
+
+ .text
+ .global _start
+_start:
+ .long .LC0
+.LT0:
+ .long .LC1
+ .long .LC2
+ .long .LC3
+ .long .LC4
+ .long .LC5
+ .long .LC6
+ .long .LC7
+ .long .LC8
+ .long .LC9
+ .long .LC10
+ .long .LC11