X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=ld%2Ftestsuite%2Fld-cris%2Ftls-err-33.d;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-err-33.d;h=6872bbd4af5c85f732dafec3bb2da5de6a5fe99f;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=0000000000000000000000000000000000000000;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/ld/testsuite/ld-cris/tls-err-33.d b/ld/testsuite/ld-cris/tls-err-33.d new file mode 100644 index 0000000..6872bbd --- /dev/null +++ b/ld/testsuite/ld-cris/tls-err-33.d @@ -0,0 +1,6 @@ +#source: tls-gottprelm.s --defsym r=8190 +#as: --no-underscore --em=criself --pic +#ld: --shared -m crislinux +#error: \A[^\n]*\.o: In function[^\n]*\n[^\n]*truncated[^\n]*\n[^\n]*too many[^\n]*\Z + +# Check that overflow for R_CRIS_16_GOT_TPREL is flagged as an error.