aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-dtprelm.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-dtprelm.s')
-rw-r--r--ld/testsuite/ld-cris/tls-dtprelm.s26
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-dtprelm.s b/ld/testsuite/ld-cris/tls-dtprelm.s
new file mode 100644
index 0000000..f69724b
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-dtprelm.s
@@ -0,0 +1,26 @@
+ .text
+
+ .ifndef r
+ .set r,1
+ .endif
+
+ .global tlsdsofndtprelm
+ .type tlsdsofndtprelm,@function
+ .p2align 1
+tlsdsofndtprelm:
+ move.w x:DTPREL16,$r10
+.Lfe:
+ .size tlsdsofndtprelm,.Lfe-tlsdsofndtprelm
+
+ .globl z
+ .section .tdata,"awT",@progbits
+ .p2align 2
+ .type z,@object
+ .size z,r
+z:
+ .fill r,1,42
+
+ .type x,@object
+ .size x,1
+x:
+ .byte 42