* binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 14 Feb 2013 23:48:18 +0000 (23:48 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 14 Feb 2013 23:48:18 +0000 (23:48 +0000)
* binutils-all/mips/mixed-mips16.d: Update accordingly.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/mips/mixed-mips16.d
binutils/testsuite/binutils-all/mips/mixed-mips16.s

index 524f489..b8daec6 100644 (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.
index 1f76c52..09e1821 100644 (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
        \.\.\.
index 189f4ae..338022c 100644 (file)
@@ -25,6 +25,7 @@ bar:
        sw      $ra, 28($sp)
        jal     baz
        lw      $a3, 28($sp)
+       addiu   $sp, 32
        jr      $a3
        .end    bar