aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-gc-76.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-gc-76.s')
-rw-r--r--ld/testsuite/ld-cris/tls-gc-76.s23
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-gc-76.s b/ld/testsuite/ld-cris/tls-gc-76.s
new file mode 100644
index 0000000..980defd
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-gc-76.s
@@ -0,0 +1,23 @@
+ .text
+ .global gc76fn
+ .type gc76fn,@function
+gc76fn:
+ move.d gc76var:GOT,$r10
+.Lfe:
+ .size gc76fn,.Lfe-gc76fn
+
+ .data
+ .type gc76var,@object
+ .size gc76var,4
+gc76var:
+ .dword 0
+
+ .section .text.2,"ax"
+ .global tlsdsofn
+ .type tlsdsofn,@function
+ .p2align 1
+tlsdsofn:
+ move.d x:DTPREL,$r10
+ move.d x:DTPREL,$r10
+.Lfe2:
+ .size tlsdsofn,.Lfe2-tlsdsofn