summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/fdpic-gotofffuncdesci20-static.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/fdpic-gotofffuncdesci20-static.s')
-rw-r--r--ld/testsuite/ld-sh/fdpic-gotofffuncdesci20-static.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/fdpic-gotofffuncdesci20-static.s b/ld/testsuite/ld-sh/fdpic-gotofffuncdesci20-static.s
new file mode 100644
index 0000000..7017e0a
--- /dev/null
+++ b/ld/testsuite/ld-sh/fdpic-gotofffuncdesci20-static.s
@@ -0,0 +1,9 @@
+ .text
+ .globl _start
+ .type _start,@function
+_start:
+ movi20 #foo@GOTOFFFUNCDESC, r1
+ add r12, r1
+ .type foo,@function
+foo:
+ nop