diff options
Diffstat (limited to 'ld/testsuite/ld-cris/tls-err-31.d')
-rw-r--r-- | ld/testsuite/ld-cris/tls-err-31.d | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-err-31.d b/ld/testsuite/ld-cris/tls-err-31.d new file mode 100644 index 00000000000..b95fa54d5c0 --- /dev/null +++ b/ld/testsuite/ld-cris/tls-err-31.d @@ -0,0 +1,6 @@ +#source: tls-dtprelm.s --defsym r=32768 +#as: --no-underscore --em=criself --pic +#ld: --shared -m crislinux +#error: \A[^\n]*\.o: In function[^\n]*\n[^\n]*truncated[^\n]*\n[^\n]*too big[^\n]*\Z + +# Check that overflow for R_CRIS_16_DTPREL is flagged as an error. |