aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr13082-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr13082-1.s')
-rw-r--r--ld/testsuite/ld-x86-64/pr13082-1.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr13082-1.s b/ld/testsuite/ld-x86-64/pr13082-1.s
new file mode 100644
index 0000000..6c03e98
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr13082-1.s
@@ -0,0 +1,10 @@
+ .text
+ .globl _start
+_start:
+ lea .Ljmp(%rip), %rax
+.L1:
+ jmp *(%rax)
+ .section .data.rel.ro.local,"aw",@progbits
+ .align 8
+.Ljmp:
+ .quad .L1