aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/fdpic-gotfuncdesc-static.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/fdpic-gotfuncdesc-static.s')
-rw-r--r--ld/testsuite/ld-sh/fdpic-gotfuncdesc-static.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/fdpic-gotfuncdesc-static.s b/ld/testsuite/ld-sh/fdpic-gotfuncdesc-static.s
new file mode 100644
index 0000000..fc403b7
--- /dev/null
+++ b/ld/testsuite/ld-sh/fdpic-gotfuncdesc-static.s
@@ -0,0 +1,12 @@
+ .text
+ .globl _start
+ .type _start,@function
+_start:
+ mov.l .L1, r0
+ mov.l @(r0,r12), r1
+ .align 2
+.L1:
+ .long foo@GOTFUNCDESC
+ .type foo,@function
+foo:
+ nop