summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/funv1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/funv1.s')
-rw-r--r--ld/testsuite/ld-powerpc/funv1.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/funv1.s b/ld/testsuite/ld-powerpc/funv1.s
new file mode 100644
index 0000000..e79009d
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/funv1.s
@@ -0,0 +1,10 @@
+ .globl my_func
+ .type my_func,@function
+ .section .opd,"aw",@progbits
+my_func:
+ .quad .Lmy_func, .TOC.@tocbase
+
+ .text
+.Lmy_func:
+ blr
+ .size my_func,.-.Lmy_func