summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/tls-dtprelm.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/tls-dtprelm.s')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/tls-dtprelm.s26
1 files changed, 26 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/tls-dtprelm.s b/binutils-2.25/ld/testsuite/ld-cris/tls-dtprelm.s
new file mode 100644
index 00000000..f69724b8
--- /dev/null
+++ b/binutils-2.25/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