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