diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r-- | ld/testsuite/ld-mips-elf/mode-change-error-1.d | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/mode-change-error-1a.s | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ld-mips-elf/mode-change-error-1.d b/ld/testsuite/ld-mips-elf/mode-change-error-1.d index 885c628..cab1ddb 100644 --- a/ld/testsuite/ld-mips-elf/mode-change-error-1.d +++ b/ld/testsuite/ld-mips-elf/mode-change-error-1.d @@ -2,4 +2,7 @@ #source: mode-change-error-1a.s #source: mode-change-error-1b.s #ld: -e 0x8000000 -#error: .*: Unsupported jump between ISA modes; consider recompiling with interlinking enabled. +#error: \A[^\n]*: In function `main':\n +#error: \(\.text\+0x0\): Unsupported jump between ISA modes; consider recompiling with interlinking enabled\n +#error: [^\n]*: In function `main':\n +#error: \(\.text\+0x8\): Unsupported jump between ISA modes; consider recompiling with interlinking enabled\Z diff --git a/ld/testsuite/ld-mips-elf/mode-change-error-1a.s b/ld/testsuite/ld-mips-elf/mode-change-error-1a.s index 44bdb1f..d52caf5 100644 --- a/ld/testsuite/ld-mips-elf/mode-change-error-1a.s +++ b/ld/testsuite/ld-mips-elf/mode-change-error-1a.s @@ -13,5 +13,8 @@ main: j doit nop + j doit + nop + .end main .size main, .-main |