From: Thiemo Seufer Date: Sat, 12 Aug 2006 23:00:35 +0000 (+0000) Subject: [ gas/ChangeLog ] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a93f742d49b6105c22520ae7bf3d84a5f789be0;p=binutils-gdb.git [ 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 07c02c14687..e3950162282 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 e8914543084..0a8c48d3741 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 63a4c0d703f..fad1588b1ce 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 6e18d8c3206..5f836866b9b 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