From 3a93f742d49b6105c22520ae7bf3d84a5f789be0 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Sat, 12 Aug 2006 23:00:35 +0000 Subject: [ 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. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 2 +- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/mips/mips16e-save.d | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) (limited to 'gas') 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 + + * config/tc-mips.c (mips16_ip): Fix argument register handling + for restore instruction. + 2006-08-08 Bob Wilson * 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 + + * gas/mips/mips16-save.d: Fix testcase. + 2006-08-08 Bob Wilson * 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 -- cgit v1.1