X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fcris%2Frd-dtpoffd1.s;fp=gas%2Ftestsuite%2Fgas%2Fcris%2Frd-dtpoffd1.s;h=06025e6595a304471aac651e2a26c0341ddd8be9;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/cris/rd-dtpoffd1.s b/gas/testsuite/gas/cris/rd-dtpoffd1.s new file mode 100644 index 0000000..06025e6 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-dtpoffd1.s @@ -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