aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifunc-22-x86-64.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ifunc/ifunc-22-x86-64.s')
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-22-x86-64.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-22-x86-64.s b/ld/testsuite/ld-ifunc/ifunc-22-x86-64.s
index f402c62..d4194a0 100644
--- a/ld/testsuite/ld-ifunc/ifunc-22-x86-64.s
+++ b/ld/testsuite/ld-ifunc/ifunc-22-x86-64.s
@@ -9,7 +9,11 @@ _start:
.global __start
__start:
.type __start,"function"
+ call *foo@GOTPCREL(%rip)
+ jmp *foo@GOTPCREL(%rip)
+ add foo@GOTPCREL(%rip), %rax
movq foo@GOTPCREL(%rip), %rax
+ test %rax, foo@GOTPCREL(%rip)
movq bar@GOTPCREL(%rip), %rax
.type foo, %gnu_indirect_function
.globl foo