summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-008.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-008.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-008.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-008.d b/ld/testsuite/ld-d10v/reloc-008.d
new file mode 100644
index 0000000..273a23c
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-008.d
@@ -0,0 +1,8 @@
+#source: reloc-005.s
+#ld: -T $srcdir/$subdir/reloc-008.ld
+#objdump: -D
+# now that we treat addresses as wrapping, it isn't possible to fail
+#error: relocation truncated to fit: R_D10V_18_PCREL
+
+# Test 18 bit pc rel reloc normal bad
+#pass