aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-08-12 23:00:35 +0000
committerThiemo Seufer <ths@networkno.de>2006-08-12 23:00:35 +0000
commit3a93f742d49b6105c22520ae7bf3d84a5f789be0 (patch)
treea92ee83ed4f223e53d17fcc70c86b252ba97fed5 /gas
parent9e320ba497f45375175477f3f8b9a280b8771a4f (diff)
downloadgdb-3a93f742d49b6105c22520ae7bf3d84a5f789be0.zip
gdb-3a93f742d49b6105c22520ae7bf3d84a5f789be0.tar.gz
gdb-3a93f742d49b6105c22520ae7bf3d84a5f789be0.tar.bz2
[ gas/ChangeLog ]
* config/tc-mips.c (mips16_ip): Fix argument register handling for restore instruction. [ gas/testsuite/ChangeLog ] * gas/mips/mips16-save.d: Fix testcase.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c2
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mips/mips16e-save.d2
4 files changed, 11 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 07c02c1..e395016 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-12 Thiemo Seufer <ths@networkno.de>
+
+ * config/tc-mips.c (mips16_ip): Fix argument register handling
+ for restore instruction.
+
2006-08-08 Bob Wilson <bob.wilson@acm.org>
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index e891454..0a8c48d 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -10201,7 +10201,7 @@ mips16_ip (char *str, struct mips_cl_insn *ip)
{
if (reg1 >= 4 && reg1 <= 7)
{
- if (c == 'm' && !seen_framesz)
+ if (!seen_framesz)
/* args $a0-$a3 */
args |= 1 << (reg1 - 4);
else
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 63a4c0d..fad1588 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-12 Thiemo Seufer <ths@networkno.de>
+
+ * gas/mips/mips16-save.d: Fix testcase.
+
2006-08-08 Bob Wilson <bob.wilson@acm.org>
* gas/lns/lns-common-1-alt.d: New file.
diff --git a/gas/testsuite/gas/mips/mips16e-save.d b/gas/testsuite/gas/mips/mips16e-save.d
index 6e18d8c..5f83686 100644
--- a/gas/testsuite/gas/mips/mips16e-save.d
+++ b/gas/testsuite/gas/mips/mips16e-save.d
@@ -39,5 +39,5 @@ Disassembly of section .text:
60:[ ]+6470[ ]+restore[ ]+128,ra,s0-s1
62:[ ]+f010 6441[ ]+restore[ ]+136,ra
66:[ ]+f100 6408[ ]+restore[ ]+64,s2
- 6a:[ ]+f71b 6470[ ]+restore[ ]+128,ra,s0-s8,a0-a3
+ 6a:[ ]+f71a 6470[ ]+restore[ ]+a0-a1,128,ra,s0-s8,a2-a3
6e:[ ]+6500[ ]+nop