summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/bpo-13m.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mmix/bpo-13m.d')
-rw-r--r--ld/testsuite/ld-mmix/bpo-13m.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/bpo-13m.d b/ld/testsuite/ld-mmix/bpo-13m.d
new file mode 100644
index 0000000..8bd0bf6
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-13m.d
@@ -0,0 +1,9 @@
+#source: start.s
+#source: bpo-7.s
+#source: areg-256.s
+#as: -linker-allocated-gregs
+#ld: -m mmo
+#error: base-plus-offset relocation against register symbol
+
+# Check that we get an error message if we see a BPO against a register
+# symbol. Variant 2: a register symbol.