summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/ifunc-8a.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/ifunc-8a.s')
-rw-r--r--ld/testsuite/ld-aarch64/ifunc-8a.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/ifunc-8a.s b/ld/testsuite/ld-aarch64/ifunc-8a.s
new file mode 100644
index 0000000000..94c073acd4
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/ifunc-8a.s
@@ -0,0 +1,13 @@
+ .text
+ .type start,"function"
+ .global start
+start:
+ .type _start,"function"
+ .global _start
+_start:
+ .type __start,"function"
+ .global __start
+__start:
+ .type __start,"function"
+ adrp x0, :got:foo
+ ldr x0, [x0, #:got_lo12:foo]