aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s')
-rw-r--r--ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s b/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s
new file mode 100644
index 0000000000..35d5ba8022
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s
@@ -0,0 +1,11 @@
+ .text
+ .global tempy
+ .type tempy, %function
+tempy:
+ .size tempy, .-tempy
+ .section .data.rel
+ .align 3
+ .type tempy_ptr, %object
+ .size tempy_ptr, 8
+tempy_ptr:
+ .xword tempy