aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-err-35.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-err-35.d')
-rw-r--r--ld/testsuite/ld-cris/tls-err-35.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-err-35.d b/ld/testsuite/ld-cris/tls-err-35.d
new file mode 100644
index 0000000..9aa7b87
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-err-35.d
@@ -0,0 +1,7 @@
+#source: start1.s
+#source: tls-tprelm.s --defsym r=32768
+#as: --no-underscore --em=criself
+#ld: -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_TPREL is flagged as an error.