summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ia64/merge2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ia64/merge2.s')
-rw-r--r--ld/testsuite/ld-ia64/merge2.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ia64/merge2.s b/ld/testsuite/ld-ia64/merge2.s
new file mode 100644
index 0000000..6c85ac2
--- /dev/null
+++ b/ld/testsuite/ld-ia64/merge2.s
@@ -0,0 +1,12 @@
+ .section .rodata.str1.8,"aMS", 1
+.LC2: .string "foo"
+.LC1: .string "foo"
+ .section .data.rel.local,"aw"
+ .quad .LC2
+ .section .rodata,"a"
+.LC3: .string "bar"
+ .balign 8
+ .space 0x400000
+ .text
+ addl r12=@ltoffx(.LC1),r1 ;;
+ addl r12=@ltoffx(.LC3),r1 ;;