aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-012.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-012.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-012.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-012.d b/ld/testsuite/ld-d10v/reloc-012.d
new file mode 100644
index 0000000..21f67fb
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-012.d
@@ -0,0 +1,6 @@
+#source: reloc-009.s
+#ld: -T $srcdir/$subdir/reloc-012.ld
+#error: relocation truncated to fit: R_D10V_10_PCREL_R foo$
+
+# Test 10 bit pc rel reloc negative normal bad.
+