* binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.

* binutils-all/mips/mixed-mips16.d: Update accordingly.
This commit is contained in:
Maciej W. Rozycki 2013-02-14 23:48:18 +00:00
parent 12ec676307
commit ed187aa442
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-14 Maciej W. Rozycki <macro@codesourcery.com>
* binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.
* binutils-all/mips/mixed-mips16.d: Update accordingly.
2013-02-13 Maciej W. Rozycki <macro@codesourcery.com>
* binutils-all/mips/mixed-micromips.d: New test.

View File

@ -26,5 +26,5 @@ Disassembly of section \.text\.bar:
[0-9a-f]+ <[^>]*> 6500 nop
[0-9a-f]+ <[^>]*> 9707 lw a3,28\(sp\)
[0-9a-f]+ <[^>]*> ef00 jr a3
[0-9a-f]+ <[^>]*> 6500 nop
[0-9a-f]+ <[^>]*> 6304 addiu sp,32
\.\.\.

View File

@ -25,6 +25,7 @@ bar:
sw $ra, 28($sp)
jal baz
lw $a3, 28($sp)
addiu $sp, 32
jr $a3
.end bar