summaryrefslogtreecommitdiff
path: root/binutils/testsuite
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
commit93bdd9ee86df52f0d63280e1179f95c4efc5755c (patch)
treefefb758764f889861a15f46ef742055b1e125be0 /binutils/testsuite
parent436f13e1542c2666192872ab00fd1042f1e75e7e (diff)
downloadbinutils-redhat-93bdd9ee86df52f0d63280e1179f95c4efc5755c.tar.gz
* binutils-all/mips/mixed-mips16.s: Add missing stack adjustment.
* binutils-all/mips/mixed-mips16.d: Update accordingly.
Diffstat (limited to 'binutils/testsuite')
-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