]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/cris/rd-dtpoffd1.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / cris / rd-dtpoffd1.s
diff --git a/gas/testsuite/gas/cris/rd-dtpoffd1.s b/gas/testsuite/gas/cris/rd-dtpoffd1.s
new file mode 100644 (file)
index 0000000..06025e6
--- /dev/null
@@ -0,0 +1,16 @@
+; Check that .dtpoffd trivially works, for external (though presumably
+; module-local) and local symbols with offsets.
+
+       .section .tdata,"awT",@progbits
+       .type   x, @object
+       .size   x, 4
+x:
+       .dword 0
+
+       .text
+start:
+       .dword 0x73696854
+       .dtpoffd extsym+42
+       .dword 0x61207369
+       .dtpoffd x+2
+       .dword 0x55566699