From ed187aa442b1045fb0ff3b49e44965e9c0b31d4a Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 14 Feb 2013 23:48:18 +0000 Subject: [PATCH] * binutils-all/mips/mixed-mips16.s: Add missing stack adjustment. * binutils-all/mips/mixed-mips16.d: Update accordingly. --- binutils/testsuite/ChangeLog | 5 +++++ binutils/testsuite/binutils-all/mips/mixed-mips16.d | 2 +- binutils/testsuite/binutils-all/mips/mixed-mips16.s | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) 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 + + * binutils-all/mips/mixed-mips16.s: Add missing stack adjustment. + * binutils-all/mips/mixed-mips16.d: Update accordingly. + 2013-02-13 Maciej W. Rozycki * 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 -- 2.34.1