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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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