aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-02-09 05:02:07 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-02-09 05:02:07 +0000
commitc99012716a475bb17aa60cd4f9c0ab94b410a7d0 (patch)
tree1a1dba06ecf4ff6a64bfd732dd1cc2f710081392 /ld/testsuite
parent027d73eb18a14046d4009e7eea9241837a93b584 (diff)
downloadfsf-binutils-gdb-c99012716a475bb17aa60cd4f9c0ab94b410a7d0.zip
fsf-binutils-gdb-c99012716a475bb17aa60cd4f9c0ab94b410a7d0.tar.gz
fsf-binutils-gdb-c99012716a475bb17aa60cd4f9c0ab94b410a7d0.tar.bz2
* ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
tests.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-mmix/bpo-11.s5
-rw-r--r--ld/testsuite/ld-mmix/bpo-21.d10
-rw-r--r--ld/testsuite/ld-mmix/bpo-21m.d9
4 files changed, 29 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index f4a4f7f..0ddd707 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
+ tests.
+
2002-02-08 Alexandre Oliva <aoliva@redhat.com>
Contribute sh64-elf.
diff --git a/ld/testsuite/ld-mmix/bpo-11.s b/ld/testsuite/ld-mmix/bpo-11.s
new file mode 100644
index 0000000..51ed92f
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-11.s
@@ -0,0 +1,5 @@
+ .set i,0
+ .rept 222
+ LDA $11,_start+i*256
+ .set i,i+1
+ .endr
diff --git a/ld/testsuite/ld-mmix/bpo-21.d b/ld/testsuite/ld-mmix/bpo-21.d
new file mode 100644
index 0000000..f208cb6
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-21.d
@@ -0,0 +1,10 @@
+#source: start.s
+#source: bpo-11.s
+#source: bpo-7.s
+#as: -linker-allocated-gregs
+#ld: -m elf64mmix
+#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$
+
+# A BPO reloc against an undefined symbol, with a full set of normal
+# BPO:s.
+
diff --git a/ld/testsuite/ld-mmix/bpo-21m.d b/ld/testsuite/ld-mmix/bpo-21m.d
new file mode 100644
index 0000000..b437dd3
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-21m.d
@@ -0,0 +1,9 @@
+#source: start.s
+#source: bpo-11.s
+#source: bpo-7.s
+#as: -linker-allocated-gregs
+#ld: -m mmo
+#error: ^[^c][^h][^i][^l][^d].* undefined reference to `areg'$
+
+# A BPO reloc against an undefined symbol, with a full set of normal
+# BPO:s.