summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-err-28.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-err-28.d')
-rw-r--r--ld/testsuite/ld-cris/tls-err-28.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-err-28.d b/ld/testsuite/ld-cris/tls-err-28.d
new file mode 100644
index 0000000..d7bfa9d
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-err-28.d
@@ -0,0 +1,7 @@
+#source: tls-gd-3.s
+#source: tls-x.s
+#as: --no-underscore --em=criself
+#ld: --shared -m crislinux
+#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z
+
+# Check that a R_CRIS_32_GD in input to a DSO is flagged as an error.