summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-err-52.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/tls-err-52.d')
-rw-r--r--ld/testsuite/ld-cris/tls-err-52.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/tls-err-52.d b/ld/testsuite/ld-cris/tls-err-52.d
new file mode 100644
index 0000000..cf0bbbc
--- /dev/null
+++ b/ld/testsuite/ld-cris/tls-err-52.d
@@ -0,0 +1,8 @@
+#source: tls-le-12s.s
+#as: --no-underscore --em=criself
+#ld: -m crislinux --shared
+#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z
+
+# Undefined reference for a R_CRIS_16_TPREL in a DSO (where it's
+# invalid in the first place anyway, so we should see the same
+# behavior as for that test, tls-err-24.d).