aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ia64/merge3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ia64/merge3.s')
-rw-r--r--ld/testsuite/ld-ia64/merge3.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ia64/merge3.s b/ld/testsuite/ld-ia64/merge3.s
new file mode 100644
index 000000000000..2442701fc8b0
--- /dev/null
+++ b/ld/testsuite/ld-ia64/merge3.s
@@ -0,0 +1,16 @@
+ .section .rodata.str1.8,"aMS", 1
+.LC1: .string "foo"
+.LC2: .string "foo"
+.LC3: .string "bar"
+.LC4: .string "bar"
+ .section .data.rel.local,"aw"
+ .quad .LC2
+ .quad .LC3
+ .section .rodata,"a"
+.LC5: .string "mumble"
+ .balign 8
+ .space 0x400000
+ .text
+ addl r12=@ltoffx(.LC1),r1 ;;
+ addl r12=@ltoffx(.LC4),r1 ;;
+ addl r12=@ltoffx(.LC5),r1 ;;