old-cross-binutils/ld/testsuite/ld-mips-elf/mode-change-error-1b.s
Catherine Moore 776167e8fa 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.
2010-08-09 19:54:13 +00:00

18 lines
251 B
ArmAsm

.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