summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/textrel1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/textrel1.s')
-rw-r--r--ld/testsuite/ld-sh/textrel1.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/textrel1.s b/ld/testsuite/ld-sh/textrel1.s
new file mode 100644
index 00000000000..eda4804bc5e
--- /dev/null
+++ b/ld/testsuite/ld-sh/textrel1.s
@@ -0,0 +1,11 @@
+ .text
+ .align 5
+ .globl f
+f:
+ mov.l .L1,r0
+ rts
+ nop
+ .align 2
+.L1: .long g - f
+ .long foo@GOT
+