aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-err-27.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-err-27.d')
-rw-r--r--ld/testsuite/ld-cris/tls-err-27.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-err-27.d b/ld/testsuite/ld-cris/tls-err-27.d
new file mode 100644
index 0000000..3d40b03
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-err-27.d
@@ -0,0 +1,8 @@
+#source: tls-ld-6.s
+#source: tls-x.s
+#as: --no-underscore --em=criself --pic
+#ld: --shared -m crislinux
+#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*Bad value\Z
+
+# Check that R_CRIS_32_DTPREL on non-module-local symbol in input to a
+# DSO is flagged as an error.