* 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 524f48990cdffc5a83cc301b989945e64139ed3c..b8daec6ef39f122d0f50c69020f0727c50811d7f 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 1f76c5218dc084c65928a5465025ccaeb4df6181..09e1821adf9d285ae60ea61cc404dd2e337b64cf 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 189f4ae806aff72105cbb6234c47941f2855add3..338022c1b5513cb43d5d367fd991b7609cd01566 100644 (file)
@@ -25,6 +25,7 @@ bar:
        sw      $ra, 28($sp)
        jal     baz
        lw      $a3, 28($sp)
+       addiu   $sp, 32
        jr      $a3
        .end    bar