* ld-elf/merge3.s, * ld-elf/merge3.d: New test.
+2015-02-24 Alan Modra <amodra@gmail.com>
+
+ * ld-elf/merge3.s, * ld-elf/merge3.d: New test.
+
2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* ld-avr/region_overflow.d: New test.
--- /dev/null
+#source: merge3.s
+#ld: -T merge.ld
+#objdump: -s
+#xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "hppa64-*-*"
+#xfail: "i960-*-*" "ip2k-*-*" "pj-*-*"
+
+.*: file format .*elf.*
+
+Contents of section \.text:
+ 1000 (20100000|00001020) (10100000|00001010) (18100000|00001018) .*
+Contents of section \.rodata:
+ 1010 64656667 00000000 30313233 34353637 defg....01234567
+ 1020 61626364 65666700 abcdefg.
+#pass
--- /dev/null
+ .section .rodata.str1.8,"aMS",%progbits,1
+ .p2align 3
+.LC0:
+ .asciz "abcdefg"
+ .p2align 3
+.LC1:
+ .asciz "defg"
+ .p2align 3
+.LC2:
+ .asciz "01234567abcdefg"
+
+ .text
+ .global _start
+_start:
+ .long .LC0
+ .long .LC1
+ .long .LC2