X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fcris%2Ftls-err-1.s;fp=gas%2Ftestsuite%2Fgas%2Fcris%2Ftls-err-1.s;h=d4fd8d47cbcbb684ca36e64ade00e6510a936251;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/cris/tls-err-1.s b/gas/testsuite/gas/cris/tls-err-1.s new file mode 100644 index 0000000..d4fd8d4 --- /dev/null +++ b/gas/testsuite/gas/cris/tls-err-1.s @@ -0,0 +1,18 @@ +; Like pic-err-1.s but for non-pic TLS suffixes. + +; { dg-do assemble } +; { dg-options "--no-underscore --em=criself" } + + .syntax no_register_prefix + .text +start: + move.b extsym:TPOFF16,r4 ; { dg-error "TLS relocation size does not match" "" { xfail *-*-* } } + move.b extsym12:TPOFF,r5 ; { dg-error "TLS relocation size does not match" } + move.w extsym2:TPOFF,r5 ; { dg-error "TLS relocation size does not match" } + move.d extsym3:TPOFF16,r6 ; { dg-error "TLS relocation size does not match" } + move extsym4:TPOFF16,srp ; { dg-error "TLS relocation size does not match" } + move.b extsym15:GD,r7 ; { dg-error "TLS relocation size does not match" } + move.w extsym6:GD,r5 ; { dg-error "TLS relocation size does not match" } + move extsym8:TPOFF16,srp ; { dg-error "TLS relocation size does not match" } + move.b extsym5:IE,r7 ; { dg-error "TLS relocation size does not match" } + move.w extsym16:IE,r5 ; { dg-error "TLS relocation size does not match" }