aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-err-26.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-err-26.d')
-rw-r--r--ld/testsuite/ld-cris/tls-err-26.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-err-26.d b/ld/testsuite/ld-cris/tls-err-26.d
new file mode 100644
index 0000000..71ecc9b
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-err-26.d
@@ -0,0 +1,8 @@
+#source: tls-ld-4.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_16_DTPREL on non-module-local symbol in input to a
+# DSO is flagged as an error.