From c99012716a475bb17aa60cd4f9c0ab94b410a7d0 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 9 Feb 2002 05:02:07 +0000 Subject: [PATCH] * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New tests. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-mmix/bpo-11.s | 5 +++++ ld/testsuite/ld-mmix/bpo-21.d | 10 ++++++++++ ld/testsuite/ld-mmix/bpo-21m.d | 9 +++++++++ 4 files changed, 29 insertions(+) create mode 100644 ld/testsuite/ld-mmix/bpo-11.s create mode 100644 ld/testsuite/ld-mmix/bpo-21.d create mode 100644 ld/testsuite/ld-mmix/bpo-21m.d 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 + + * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New + tests. + 2002-02-08 Alexandre Oliva 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. -- 2.7.4