aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr13302.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr13302.s')
-rw-r--r--ld/testsuite/ld-i386/pr13302.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr13302.s b/ld/testsuite/ld-i386/pr13302.s
new file mode 100644
index 0000000..cfd2717
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr13302.s
@@ -0,0 +1,11 @@
+ .text
+ .globl _start
+ .type ifunc, @gnu_indirect_function
+_start:
+ lea .Ljmp@GOTOFF(%ebx), %eax
+ifunc:
+ jmp *(%eax)
+ .section .data.rel.ro.local,"aw",@progbits
+ .align 4
+.Ljmp:
+ .long ifunc