summaryrefslogtreecommitdiffstats
path: root/binutils
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2013-02-14 23:48:18 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2013-02-14 23:48:18 +0000
commited187aa442b1045fb0ff3b49e44965e9c0b31d4a (patch)
tree1f27763b322053532c976b0d28be4e42bd34d7f4 /binutils
parent12ec676307cb9e1145701dd0b41efd5950976380 (diff)
downloadppe42-binutils-ed187aa442b1045fb0ff3b49e44965e9c0b31d4a.tar.gz
ppe42-binutils-ed187aa442b1045fb0ff3b49e44965e9c0b31d4a.zip
* binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.
* binutils-all/mips/mixed-mips16.d: Update accordingly.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/mips/mixed-mips16.d2
-rw-r--r--binutils/testsuite/binutils-all/mips/mixed-mips16.s1
3 files changed, 7 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 524f48990c..b8daec6ef3 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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.
diff --git a/binutils/testsuite/binutils-all/mips/mixed-mips16.d b/binutils/testsuite/binutils-all/mips/mixed-mips16.d
index 1f76c5218d..09e1821adf 100644
--- a/binutils/testsuite/binutils-all/mips/mixed-mips16.d
+++ b/binutils/testsuite/binutils-all/mips/mixed-mips16.d
@@ -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
\.\.\.
diff --git a/binutils/testsuite/binutils-all/mips/mixed-mips16.s b/binutils/testsuite/binutils-all/mips/mixed-mips16.s
index 189f4ae806..338022c1b5 100644
--- a/binutils/testsuite/binutils-all/mips/mixed-mips16.s
+++ b/binutils/testsuite/binutils-all/mips/mixed-mips16.s
@@ -25,6 +25,7 @@ bar:
sw $ra, 28($sp)
jal baz
lw $a3, 28($sp)
+ addiu $sp, 32
jr $a3
.end bar
OpenPOWER on IntegriCloud