]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-cris/tls-err-29.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-cris / tls-err-29.d
diff --git a/ld/testsuite/ld-cris/tls-err-29.d b/ld/testsuite/ld-cris/tls-err-29.d
new file mode 100644 (file)
index 0000000..1024ea8
--- /dev/null
@@ -0,0 +1,7 @@
+#source: init.s
+#source: tls-gdgotrelm.s --defsym r=8192
+#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_GD is flagged as an error.