diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf/unaligned-branch.d')
-rw-r--r-- | ld/testsuite/ld-mips-elf/unaligned-branch.d | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/unaligned-branch.d b/ld/testsuite/ld-mips-elf/unaligned-branch.d new file mode 100644 index 0000000..54894b6 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/unaligned-branch.d @@ -0,0 +1,23 @@ +#name: MIPS branch to unaligned symbol +#source: unaligned-branch.s +#source: unaligned-text.s +#as: -EB -32 -mips32r6 +#ld: -EB -Ttext 0x10000000 -e 0x10000000 +#error: \A[^\n]*: In function `foo':\n +#error: \(\.text\+0x14\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x1c\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x24\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x28\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x30\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x38\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x3c\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x44\): Branch to a non-instruction-aligned address\n +#error: [^\n]*: In function `foo':\n +#error: \(\.text\+0x4c\): Branch to a non-instruction-aligned address\Z |