summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/tls-err-33.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/tls-err-33.d')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/tls-err-33.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/tls-err-33.d b/binutils-2.25/ld/testsuite/ld-cris/tls-err-33.d
new file mode 100644
index 00000000..6872bbd4
--- /dev/null
+++ b/binutils-2.25/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.