aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-007.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-007.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-007.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-007.d b/ld/testsuite/ld-d10v/reloc-007.d
new file mode 100644
index 0000000..fff598d
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-007.d
@@ -0,0 +1,7 @@
+#source: reloc-005.s
+#ld: -T $srcdir/$subdir/reloc-007.ld
+#objdump: -D
+#error: relocation truncated to fit: R_D10V_18_PCREL foo$
+
+# Test 18 bit pc rel reloc bad boundary
+