aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/fdpic-gotoffi20-static.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/fdpic-gotoffi20-static.s')
-rw-r--r--ld/testsuite/ld-sh/fdpic-gotoffi20-static.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/fdpic-gotoffi20-static.s b/ld/testsuite/ld-sh/fdpic-gotoffi20-static.s
new file mode 100644
index 0000000..079255b
--- /dev/null
+++ b/ld/testsuite/ld-sh/fdpic-gotoffi20-static.s
@@ -0,0 +1,11 @@
+ .text
+ .globl _start
+ .type _start,@function
+_start:
+ movi20 #foo@GOTOFF, r0
+ mov.l @(r0,r12), r1
+ .data
+ .type foo,@object
+ .size foo,4
+foo:
+ .long 1