aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/symbolic-func.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/symbolic-func.s')
-rw-r--r--ld/testsuite/ld-elf/symbolic-func.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/symbolic-func.s b/ld/testsuite/ld-elf/symbolic-func.s
new file mode 100644
index 0000000..29f4138
--- /dev/null
+++ b/ld/testsuite/ld-elf/symbolic-func.s
@@ -0,0 +1,13 @@
+ .text
+ .global fun
+ .type fun, %function
+fun:
+ .space 4
+ .size fun, .-fun
+
+ .section .data.rel.ro,"aw",%progbits
+ .p2align 3
+ .type fun_ptr, %object
+fun_ptr:
+ .dc.a fun
+ .size fun_ptr, .-fun_ptr