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