diff options
author | Catherine Moore <clm@redhat.com> | 2010-08-09 19:54:13 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 2010-08-09 19:54:13 +0000 |
commit | 776167e8fa07df96f999a0593f1dc536c80bc1cb (patch) | |
tree | ce1b0617ee4e091e0e24cdcf700bc8dba44983e8 /ld/testsuite/ld-mips-elf/mode-change-error-1b.s | |
parent | 33e5013ed29270c3b6c5eaf46225e66b0fb6bc2c (diff) | |
download | gdb-776167e8fa07df96f999a0593f1dc536c80bc1cb.zip gdb-776167e8fa07df96f999a0593f1dc536c80bc1cb.tar.gz gdb-776167e8fa07df96f999a0593f1dc536c80bc1cb.tar.bz2 |
2010-08-09 Catherine Moore <clm@codesourcery.com>
* elfxx-mips.c (mips_elf_perform_relocation): Improve
interlinking error message.
2010-08-09 Catherine Moore <clm@codesourcery.com>
* ld-mips-elf/mode-change-error-1.d: New.
* ld-mips-elf/mode-change-error-1a.s: New.
* ld-mips-elf/mode-change-error-1b.s: New.
* ld-mips-elf/mips-elf.exp: Run new test.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mode-change-error-1b.s')
-rw-r--r-- | ld/testsuite/ld-mips-elf/mode-change-error-1b.s | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mode-change-error-1b.s b/ld/testsuite/ld-mips-elf/mode-change-error-1b.s new file mode 100644 index 0000000..84e15d6 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/mode-change-error-1b.s @@ -0,0 +1,18 @@ + .text + .align 4 + .globl doit + .set mips16 + .ent doit + .type doit, @function +doit: + .frame $sp,0,$31 + .mask 0x00000000,0 + .fmask 0x00000000,0 + sll $2,$4,1 + sll $4,$4,3 + .set noreorder + .set nomacro + j $31 + addu $2,$2,$4 + .end doit + .size doit, .-doit |